diff --git a/regress/lib.sh b/regress/lib.sh index cea11e2..3018b99 100644 --- a/regress/lib.sh +++ b/regress/lib.sh @@ -64,7 +64,9 @@ EOF } checkconf() { - $gmid -n -c reg.conf >/dev/null + if ! $gmid -n -c reg.conf >/dev/null 2>&1; then + $gmid -n -c reg.conf + fi } # usage: setup_simple_test