aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfilter.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter.sh b/filter.sh
index 0bda911..cd96fd8 100755
--- a/filter.sh
+++ b/filter.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#---------------------------------------------------------------
# Project : Mageia
# Module : rpm
@@ -31,6 +31,6 @@ if [ "$GREP_ARG" != ' ' ]; then
else
cat
fi
-exit 0
+exit ${PIPESTATUS[1]}
# filter.sh ends here