Revert "fix: fix array problem"

This reverts commit 6f54b14046.
This commit is contained in:
ttionya
2021-02-24 01:02:52 +08:00
parent efd91f5c50
commit 8528a048f7
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ function configure_timezone() {
function configure_cron() {
local FIND_CRON_COUNT=$(crontab -l | grep -c 'backup.sh')
if [[ ${FIND_CRON_COUNT} -eq 0 ]]; then
echo "${CRON} bash /app/backup.sh > /dev/stdout" >> /etc/crontabs/root
echo "${CRON} sh /app/backup.sh > /dev/stdout" >> /etc/crontabs/root
fi
}