diff options
Diffstat (limited to 'packages/pure-ftpdsettings.xml')
-rw-r--r-- | packages/pure-ftpdsettings.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pure-ftpdsettings.xml b/packages/pure-ftpdsettings.xml index 1fe39d9b..a58b0651 100644 --- a/packages/pure-ftpdsettings.xml +++ b/packages/pure-ftpdsettings.xml @@ -89,7 +89,7 @@ <custom_add_php_command> conf_mount_rw(); config_lock(); - mwexec("rm /usr/local/etc/rc.d/pure-ftp*"); + unlink_if_exists("/usr/local/etc/rc.d/pure-ftp*"); $fout = fopen("/usr/local/etc/rc.d/pure-ftpd.sh","w"); fwrite($fout, "#!/bin/sh\n\n"); $startline = "/usr/local/sbin/pure-ftpd"; |