From fe4b2bc22c9c7d8697d99bcf14408a9fc3990e24 Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Tue, 15 May 2018 14:11:41 +0900 Subject: [PATCH] Fix: non-zero exit status is ignored in tizen-system-env.service Change-Id: I7e0824288917cf896a169e20015010484e96d5a2 Signed-off-by: Hyotaek Shim --- units/tizen-system-env.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.7.4