Procházet zdrojové kódy

Fix wrong remove definition.

Raphael Schneeberger před 6 roky
rodič
revize
998a4f7553
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      bin/v-delete-sys-sftp-jail

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

@@ -67,7 +67,7 @@ fi
 
 # Remove v-add-sys-sftp-jail to startup
 if [ ! -e "/etc/cron.d/hestia-sftp" ]; then
-    rm "@reboot /usr/local/hestia/bin/v-add-sys-sftp-jail" > /etc/cron.d/hestia-sftp
+    rm -f /etc/cron.d/hestia-sftp
 fi