]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: display ERROR properly
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 17 Jun 2010 12:02:01 +0000 (14:02 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 19 Jun 2010 17:06:51 +0000 (19:06 +0200)
regress/scripts/functions

index 6e9e751b595f7a8d10790dc52dc48b801f180a7f..5ea874c365f5afa4cda104bdd439a97b97142c29 100644 (file)
@@ -112,7 +112,7 @@ print_debug()
 {
    echo $* | grep ERROR > /dev/null
    if test $? -eq 0; then
-     print_error="$print_error\n$*"
+     echo $* >> $tmp/err.log
    fi
    if test "$debug" -eq 1 ; then
      echo $*