diff options
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/dup.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/handlers/dup.in b/handlers/dup.in index f9f4de4..9eb2fbb 100644 --- a/handlers/dup.in +++ b/handlers/dup.in @@ -339,7 +339,11 @@ if [ ! $test ]; then exit_code=$? debug $output cat $outputfile | (while read output ; do - info $output + if [ $exit_code -eq 0 ]; then + info $output + else + error $output + fi done ) if [ $exit_code -eq 0 ]; then |