]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix bug #2404 uninstall systemd service
authorKern Sibbald <kern@sibbald.com>
Fri, 3 Aug 2018 13:15:36 +0000 (15:15 +0200)
committerKern Sibbald <kern@sibbald.com>
Fri, 3 Aug 2018 18:24:07 +0000 (20:24 +0200)
bacula/platforms/systemd/Makefile.in

index 947d7587065c78b8cbfbf4d2747707b5f1b5c0be..8598f6c981de8a23754bda0bad7a7105a2397863 100644 (file)
@@ -92,7 +92,7 @@ uninstall-autostart-sd:
        @rm -f  $(DESTDIR)$(SYSTEMD_UNITDIR)/bacula-sd.service
 
 uninstall-autostart-dir:
-       @if test x$(DESTDIR) = x -a  -f $(SYSTEMD)/bacula-dir.service; then \
+       @if test x$(DESTDIR) = x -a  -f $(SYSTEMD_UNITDIR)/bacula-dir.service; then \
           /bin/systemctl stop bacula-dir.service; \
           /bin/systemctl disable bacula-dir.service; \
        fi