summaryrefslogtreecommitdiff
path: root/is_built
diff options
context:
space:
mode:
Diffstat (limited to 'is_built')
-rwxr-xr-xis_built4
1 files changed, 2 insertions, 2 deletions
diff --git a/is_built b/is_built
index 968c771..9dc5d1c 100755
--- a/is_built
+++ b/is_built
@@ -1,7 +1,7 @@
#!/bin/bash
# Detect is a package is installed or in a database
-stdnull "pacman -Qqi $1" || \
-stdnull "pacman -Sqi $1"
+pacman -Qqi $1 >/dev/null 2>&1 || \
+pacman -Sqi $1 >/dev/null 2>&1
exit $?