Merge commit 'micah/master'
[monkeysphere.git] / packaging / freebsd / pkg-deinstall
index 966f25247466e83ac33e7c5aa7abb28e216c927e..30008784182a835c800541d5e7f9a33617c750d1 100755 (executable)
@@ -19,7 +19,7 @@ POST-DEINSTALL)
 
 # (note: FreeBSD does not seem to want the package-specific user to be
 # purged at package removal)
-       if pw user show "${USER}" 2>/dev/null; then
+       if pw user show "${USER}" 2>/dev/null >/dev/null; then
            echo "Warning: If you will *NOT* use this package anymore, please remove the monkeysphere user manually."
        fi
        if [ -d "$VARLIB" ] ; then