Bob Mottram 9 年前
父节点
当前提交
978959b0cf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-client

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

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