diff --git a/systemd.changes b/systemd.changes index 71dd4ef8..624d842d 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 10 11:19:31 UTC 2014 - werner@suse.de + +- Do not return from main shell script but simply exit (bnc#862789) + ------------------------------------------------------------------- Sun Feb 9 18:43:38 UTC 2014 - werner@suse.de diff --git a/write_dev_root_rule b/write_dev_root_rule index 5011aa3f..dcb7d5b4 100644 --- a/write_dev_root_rule +++ b/write_dev_root_rule @@ -2,7 +2,7 @@ eval $(@@PREFIX@@/udevadm info --export --export-prefix=ROOT_ --device-id-of-file=/) -[ "$ROOT_MAJOR" -gt 0 ] || return +[ "$ROOT_MAJOR" -gt 0 ] || exit 0 mkdir -m 0755 -p /run/udev/rules.d >/dev/null 2>&1 ln -sf /run/udev /dev/.udev 2>/dev/null || :