Skip to content

Commit 998a4f7

Browse files
committed
Fix wrong remove definition.
1 parent 70e3a25 commit 998a4f7

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 @@ fi
6767

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

7373

0 commit comments

Comments
 (0)