diff --git a/ChangeLog b/ChangeLog index 220b2bda..b7609d8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22131,3 +22131,6 @@ 2021-07-31 Fred Gleason * Fixed a bug in 'helpers/rdi18n_helper.sh.in' that broke the build on Ubuntu. +2021-07-31 Fred Gleason + * Fixed a bug in 'systemd/daemon-reload.sh' that broke the + 'make deb' target. diff --git a/systemd/daemon-reload.sh b/systemd/daemon-reload.sh index 0d2db1f8..3ba4220e 100755 --- a/systemd/daemon-reload.sh +++ b/systemd/daemon-reload.sh @@ -4,7 +4,7 @@ # # Do a daemon-reload for SystemD # -# (C) Copyright 2018 Fred Gleason +# (C) Copyright 2018-2021 Fred Gleason # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -21,5 +21,7 @@ # if test $UID -eq 0 ; then - /bin/systemctl daemon-reload + if test -z $FAKEROOTKEY ; then + /bin/systemctl daemon-reload + fi fi