Explorar o código

Fix wrong remove definition.

Raphael Schneeberger %!s(int64=7) %!d(string=hai) anos
pai
achega
998a4f7553
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 # 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 "@reboot /usr/local/hestia/bin/v-add-sys-sftp-jail" > /etc/cron.d/hestia-sftp
+    rm -f /etc/cron.d/hestia-sftp
 fi
 fi