summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index da7178e3..b9f1e6e9 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -41,7 +41,7 @@ case $HOSTNAME in
# this host is acting strange…
# restarting services cause hangs, so we don't do that
echo -e "#!/bin/sh\nexit 0" | sudo tee /usr/sbin/policy-rc.d
- chmod +x /usr/sbin/policy-rc.d
+ sudo chmod +x /usr/sbin/policy-rc.d
;;
*) ;;
esac