From 978959b0cfc4d1c28f71b623a4ff8d2ae5cc1042 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 28 May 2016 18:45:28 +0100 Subject: [PATCH] sudo --- src/freedombone-client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-client b/src/freedombone-client index cce7dd5b..a4ffa28e 100755 --- a/src/freedombone-client +++ b/src/freedombone-client @@ -66,7 +66,7 @@ function refresh_gpg_keys { if ! grep -q "gpg --refresh-keys" ~/temp_crontab; then echo "0 */$REFRESH_GPG_KEYS_HOURS * * * $CURR_USER /usr/bin/gpg --refresh-keys > /dev/null" >> ~/temp_crontab sudo cp ~/temp_crontab /etc/crontab - chown root:root /etc/crontab + sudo chown root:root /etc/crontab fi rm ~/temp_crontab }