summaryrefslogtreecommitdiff
path: root/source3/script/uninstallbin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source3/script/uninstallbin.sh')
-rwxr-xr-xsource3/script/uninstallbin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/uninstallbin.sh b/source3/script/uninstallbin.sh
index 597c5d95a5..5d39b79882 100755
--- a/source3/script/uninstallbin.sh
+++ b/source3/script/uninstallbin.sh
@@ -25,7 +25,7 @@ for p in $*; do
fi
# this is a special case, mount needs this in a specific location
- if test "$p2" = smbmount -a -e "$DESTDIR/sbin/mount.smbfs"; then
+ if test "$p2" = smbmount -a -f "$DESTDIR/sbin/mount.smbfs"; then
echo "Removing $DESTDIR/sbin/mount.smbfs "
rm -f "$DESTDIR/sbin/mount.smbfs"
fi