diff options
author | lassulus <lassulus@googlemail.com> | 2013-12-29 18:19:49 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-12-29 18:19:49 +0100 |
commit | c0ce0ad9d26978ff84516281fa20ca5b1cf3adfe (patch) | |
tree | e9d70673dcfcd7157d77138208b6b8c3fd7cb3b3 | |
parent | bda622d608dc7a713e27b8ac23d6bb69fcc2649d (diff) |
retiolum: sudo for diff
-rwxr-xr-x | retiolum/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/Makefile b/retiolum/Makefile index feb89f73..7942b77c 100755 --- a/retiolum/Makefile +++ b/retiolum/Makefile @@ -12,7 +12,7 @@ install: upgrade sudo cp scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up upgrade: update - if ! diff -u scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up; then \ + if ! sudo diff -u scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up; then \ sudo cp scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up; \ sudo pkill -HUP tincd || :; \ fi |