Bob Mottram 8 年之前
父節點
當前提交
978959b0cf
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/freedombone-client

+ 1
- 1
src/freedombone-client 查看文件

@@ -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
 }