Bob Mottram hace 8 años
padre
commit
978959b0cf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/freedombone-client

+ 1
- 1
src/freedombone-client Ver fichero

@@ -66,7 +66,7 @@ function refresh_gpg_keys {
66 66
 	if ! grep -q "gpg --refresh-keys" ~/temp_crontab; then
67 67
 		echo "0            */$REFRESH_GPG_KEYS_HOURS *   *   *   $CURR_USER /usr/bin/gpg --refresh-keys > /dev/null" >> ~/temp_crontab
68 68
 		sudo cp ~/temp_crontab /etc/crontab
69
-		chown root:root /etc/crontab
69
+		sudo chown root:root /etc/crontab
70 70
 	fi
71 71
 	rm ~/temp_crontab
72 72
 }