From: Hyotaek Shim Date: Tue, 15 May 2018 05:11:41 +0000 (+0900) Subject: Fix: non-zero exit status is ignored in tizen-system-env.service X-Git-Tag: submit/tizen/20180515.051307^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe4b2bc22c9c7d8697d99bcf14408a9fc3990e24;p=platform%2Fadaptation%2Fsystem-plugin.git Fix: non-zero exit status is ignored in tizen-system-env.service Change-Id: I7e0824288917cf896a169e20015010484e96d5a2 Signed-off-by: Hyotaek Shim --- diff --git a/units/tizen-system-env.service b/units/tizen-system-env.service index 38b0c08..d6b6980 100644 --- a/units/tizen-system-env.service +++ b/units/tizen-system-env.service @@ -8,8 +8,8 @@ RequiresMountsFor=/opt Type=oneshot RemainAfterExit=yes SmackProcessLabel=System -ExecStart=/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -v "^(HOME|PWD|SHLVL|_|USER|MAIL|LOGNAME|XDG_RUNTIME_DIR)=" > /run/tizen-system-env' -ExecStart=/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -e "XDG_RUNTIME_DIR=" > /run/xdg-root-env' +ExecStart=-/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -v "^(HOME|PWD|SHLVL|_|USER|MAIL|LOGNAME|XDG_RUNTIME_DIR)=" > /run/tizen-system-env' +ExecStart=-/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -e "XDG_RUNTIME_DIR=" > /run/xdg-root-env' [Install] WantedBy=basic.target