Skip to content

Commit 2a7ebeb

Browse files
authored
Delete cron correctly (hestiacp#4833)
Check was incorrect
1 parent 34464e1 commit 2a7ebeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-delete-sys-sftp-jail

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$restart" = 'yes' ]; then
6767
fi
6868

6969
# Remove v-add-sys-sftp-jail to startup
70-
if [ ! -e "/etc/cron.d/hestia-sftp" ]; then
70+
if [ -e "/etc/cron.d/hestia-sftp" ]; then
7171
rm -f /etc/cron.d/hestia-sftp
7272
fi
7373

0 commit comments

Comments
 (0)