summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-06-16 18:07:16 -0400
committerMike Gilbert <floppym@gentoo.org>2014-06-16 18:07:16 -0400
commit6eef77ad6a4eeb9a54a5bff5514da55b43ea844a (patch)
tree64f1424abb0a005b737d4b18a177bb6711f34157
parentBump version to 4. (diff)
downloadgentoo-systemd-integration-6eef77ad6a4eeb9a54a5bff5514da55b43ea844a.tar.gz
gentoo-systemd-integration-6eef77ad6a4eeb9a54a5bff5514da55b43ea844a.tar.bz2
gentoo-systemd-integration-6eef77ad6a4eeb9a54a5bff5514da55b43ea844a.zip
gentoo-local-generator: Exit with status 0 if /etc/local.d is missing
Otherwise the user will get a silly failure message in their logs.
-rwxr-xr-xsystem-generators/gentoo-local-generator2
1 files changed, 1 insertions, 1 deletions
diff --git a/system-generators/gentoo-local-generator b/system-generators/gentoo-local-generator
index 90cbd8b..5f0b865 100755
--- a/system-generators/gentoo-local-generator
+++ b/system-generators/gentoo-local-generator
@@ -1,7 +1,7 @@
#!/bin/sh
locald_dir=/etc/local.d
-cd "${locald_dir}" || exit 1
+cd "${locald_dir}" || exit 0
svc_dir=/run/systemd/generator
wan_dir=${svc_dir}/multi-user.target.wants