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
 }