Просмотр исходного кода

Delete cron correctly (#4833)

Check was incorrect
Jaap Marcus 1 год назад
Родитель
Сommit
2a7ebebd88
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      bin/v-delete-sys-sftp-jail

+ 1 - 1
bin/v-delete-sys-sftp-jail

@@ -67,7 +67,7 @@ if [ "$restart" = 'yes' ]; then
 fi
 
 # Remove v-add-sys-sftp-jail to startup
-if [ ! -e "/etc/cron.d/hestia-sftp" ]; then
+if [ -e "/etc/cron.d/hestia-sftp" ]; then
 	rm -f /etc/cron.d/hestia-sftp
 fi