From e28a0c8ef638ceb17f8d80ead9d961d3d4c1561fcc9f0afa8a4342de713ecc8c Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 10 Feb 2014 11:20:21 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=512 --- systemd.changes | 5 +++++ write_dev_root_rule | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 || :