Skip to content

Commit 39af721

Browse files
committed
Fix wrong check for restart queue
-Check always returned false so on every upgrade a new restart cron was created
1 parent 7b24518 commit 39af721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/upgrade/versions/latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if [ ! -z "$IMAP_SYSTEM" ]; then
3636
fi
3737
fi
3838

39-
if [ -z "$(v-list-cron-jobs admin | grep 'v-update-sys-queue backup')" ]; then
39+
if [ -z "$($BIN/v-list-cron-jobs admin | grep 'v-update-sys-queue restart')" ]; then
4040
command="sudo $BIN/v-update-sys-queue restart"
4141
$BIN/v-add-cron-job 'admin' '*/2' '*' '*' '*' '*' "$command"
4242
fi

0 commit comments

Comments
 (0)