فهرست منبع

Delete cron correctly (#4833)

Check was incorrect
Jaap Marcus 1 سال پیش
والد
کامیت
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