diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-03-03 16:16:23 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-03-03 16:16:23 +0000 |
commit | ae8535e29203ed23a1efc7767a4597729cdc48ec (patch) | |
tree | cc3a6021ce96b7abc90e5503f3f9f66627767ff0 | |
parent | fd524c2a0adc3204f43e8db1cda805f7c92abd52 (diff) | |
download | rpm-setup-ae8535e29203ed23a1efc7767a4597729cdc48ec.tar rpm-setup-ae8535e29203ed23a1efc7767a4597729cdc48ec.tar.gz rpm-setup-ae8535e29203ed23a1efc7767a4597729cdc48ec.tar.bz2 rpm-setup-ae8535e29203ed23a1efc7767a4597729cdc48ec.tar.xz rpm-setup-ae8535e29203ed23a1efc7767a4597729cdc48ec.zip |
exit with the status of the program being run instead of 0
-rwxr-xr-x | filter.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |