fix: Remove crontab for automation installs

This commit is contained in:
Jason Ertel
2020-11-02 11:06:38 -05:00
parent 37c630d6ab
commit 2acb930a2e

View File

@@ -747,7 +747,7 @@ detect_os() {
disable_auto_start() { disable_auto_start() {
if crontab -l 2>&1 | grep so-setup > /dev/null 2>&1; then if crontab -l -u $INSTALLUSERNAME 2>&1 | grep so-setup > /dev/null 2>&1; then
# Remove the automated setup script from crontab, if it exists # Remove the automated setup script from crontab, if it exists
logCmd "crontab -u $INSTALLUSERNAME -r" logCmd "crontab -u $INSTALLUSERNAME -r"
fi fi