diff options
author | 2014-06-16 18:07:16 -0400 | |
---|---|---|
committer | 2014-06-16 18:07:16 -0400 | |
commit | 6eef77ad6a4eeb9a54a5bff5514da55b43ea844a (patch) | |
tree | 64f1424abb0a005b737d4b18a177bb6711f34157 | |
parent | Bump version to 4. (diff) | |
download | gentoo-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-x | system-generators/gentoo-local-generator | 2 |
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 |