diff options
author | Colin Smith <colin@pfsense.org> | 2005-03-21 04:32:13 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-03-21 04:32:13 +0000 |
commit | c34fb5342a439e59323e34185727f182e52801e2 (patch) | |
tree | 3484cd4248a3e8a09a325892254e290a0e7dbef7 /packages/stunnel.xml | |
parent | 1edd830d8e1dcf41b9f9426e27c387c7b0616f22 (diff) | |
download | pfsense-packages-c34fb5342a439e59323e34185727f182e52801e2.tar.gz pfsense-packages-c34fb5342a439e59323e34185727f182e52801e2.tar.bz2 pfsense-packages-c34fb5342a439e59323e34185727f182e52801e2.zip |
Remove unnecessary calls to rm - use unlink_if_exists or rmdir_recursive.
Diffstat (limited to 'packages/stunnel.xml')
-rw-r--r-- | packages/stunnel.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/stunnel.xml b/packages/stunnel.xml index 253da369..581c5971 100644 --- a/packages/stunnel.xml +++ b/packages/stunnel.xml @@ -83,8 +83,8 @@ system("chmod 555 /usr/local/etc/rc.d/stunnel.sh"); </custom_php_install_command> <custom_php_deinstall_command> - system("rm -rf /var/tmp/stunnel 2>/dev/null"); - system("rm -rf /usr/local/etc/stunnel*"); + rmdir_recursive("/var/tmp/stunnel"); + rmdir_recursive("/usr/local/etc/stunnel*"); </custom_php_deinstall_command> <custom_add_php_command_late> conf_mount_rw(); |