From 04dfccd6bc295cfeae03a9639c211bf38541af0e Mon Sep 17 00:00:00 2001 From: LamGC Date: Mon, 6 Nov 2023 13:01:53 +0000 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=E4=BF=AE=E5=A4=8D=E6=BD=9C?= =?UTF-8?q?=E5=9C=A8=E7=9A=84=20Shell=20=E7=AC=A6=E5=8F=B7=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E9=97=AE=E9=A2=98."?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 撤销这个愚蠢的改动。 (脑子抽风了hhhhh) --- conf-sshd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf-sshd.sh b/conf-sshd.sh index b9f274a..9935835 100755 --- a/conf-sshd.sh +++ b/conf-sshd.sh @@ -197,7 +197,7 @@ if [ $(has_param "-c" "--cron") == "true" ]; then echo "Install conf-sshd script successfully." # 将当前脚本追加到当前用户的 Crontab 中 crontab -l > ~/.conf-sshd/crontab.old - echo '$cron "/bin/bash ~/.conf-sshd/conf-sshd.sh -o" >> ~/.conf-sshd/run.log' >> ~/.conf-sshd/crontab.old + echo "$cron \"/bin/bash ~/.conf-sshd/conf-sshd.sh -o\" >> ~/.conf-sshd/run.log" >> ~/.conf-sshd/crontab.old crontab ~/.conf-sshd/crontab.old rm ~/.conf-sshd/crontab.old echo "Crontab has been configured.(Cron: '$cron')"