summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-12-29 18:19:49 +0100
committerlassulus <lassulus@googlemail.com>2013-12-29 18:19:49 +0100
commitc0ce0ad9d26978ff84516281fa20ca5b1cf3adfe (patch)
treee9d70673dcfcd7157d77138208b6b8c3fd7cb3b3
parentbda622d608dc7a713e27b8ac23d6bb69fcc2649d (diff)
retiolum: sudo for diff
-rwxr-xr-xretiolum/Makefile2
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