Skip to content

Commit 1888a6a

Browse files
committed
lib: fix debug() so it works with set -e
1 parent 025b8ae commit 1888a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/postgresql-setup/library.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ warn() { echo >&2 $"WARNING: $@" ; }
55
warn_q() { echo >&2 $" $@" ; }
66
info() { echo >&2 $" * $@" ; }
77
info_q() { echo >&2 $" $@" ; }
8-
debug() { test "$option_debug" = "1" && echo >&2 $"DEBUG: $@"; }
8+
debug() { test "$option_debug" != "1" || echo >&2 $"DEBUG: $@"; }
99

1010

1111
set_var()

0 commit comments

Comments
 (0)