From 2acb930a2e78347f5653112a4416441bc970dcb6 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Mon, 2 Nov 2020 11:06:38 -0500 Subject: [PATCH] fix: Remove crontab for automation installs --- setup/so-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index f2a701e7e..52d0435b8 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -747,7 +747,7 @@ detect_os() { 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 logCmd "crontab -u $INSTALLUSERNAME -r" fi