Revert "fix: 修复潜在的 Shell 符号解析问题."

撤销这个愚蠢的改动。
(脑子抽风了hhhhh)
This commit is contained in:
LamGC 2023-11-06 13:01:53 +00:00 committed by GitHub
parent b01cb6ff36
commit 04dfccd6bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ if [ $(has_param "-c" "--cron") == "true" ]; then
echo "Install conf-sshd script successfully." echo "Install conf-sshd script successfully."
# 将当前脚本追加到当前用户的 Crontab 中 # 将当前脚本追加到当前用户的 Crontab 中
crontab -l > ~/.conf-sshd/crontab.old 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 crontab ~/.conf-sshd/crontab.old
rm ~/.conf-sshd/crontab.old rm ~/.conf-sshd/crontab.old
echo "Crontab has been configured.(Cron: '$cron')" echo "Crontab has been configured.(Cron: '$cron')"