summaryrefslogtreecommitdiff
path: root/security/uvscan
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-21 07:12:34 +0000
committerjlam <jlam>2002-10-21 07:12:34 +0000
commitd6cd3bdbc368d4bcf932d9aa7a12bcc99527dc34 (patch)
treef78f6014ea31acb465d70778295b4eee1ad15a1e /security/uvscan
parent5f7a4c12a64a2ec6b5495b6f1adf301e2480442e (diff)
downloadpkgsrc-d6cd3bdbc368d4bcf932d9aa7a12bcc99527dc34.tar.gz
Use exec to save forking a new process, and use proper argument quoting.
Diffstat (limited to 'security/uvscan')
-rwxr-xr-xsecurity/uvscan/files/uvscan.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/uvscan/files/uvscan.sh b/security/uvscan/files/uvscan.sh
index 319b542660e..8a606d9249c 100755
--- a/security/uvscan/files/uvscan.sh
+++ b/security/uvscan/files/uvscan.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#
-# $NetBSD: uvscan.sh,v 1.2 2001/08/16 05:09:22 jlam Exp $
+# $NetBSD: uvscan.sh,v 1.3 2002/10/21 07:12:34 jlam Exp $
#
# Wrapper script to execute McAfee(R) VirusScan
-@PREFIX@/libexec/uvscan/uvscan $*
+exec @PREFIX@/libexec/uvscan/uvscan "$@"