diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-09-10 10:34:51 -0500 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-09-10 10:34:51 -0500 |
commit | c768a36e484b917187b88069eb530c240b87083c (patch) | |
tree | c1677bdcb23b6ea3aa81e3108520f8e2131c9942 /pm/pm-functions.in | |
parent | 6ab65e737b0d70c97cabb4cd795909115cbd7591 (diff) |
Fix logging bug that was aborting help after the first hook.
Diffstat (limited to 'pm/pm-functions.in')
-rw-r--r-- | pm/pm-functions.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pm/pm-functions.in b/pm/pm-functions.in index ce79619..f7492a0 100644 --- a/pm/pm-functions.in +++ b/pm/pm-functions.in @@ -84,7 +84,7 @@ fi # We do it this way because 'echo -n' is not posix. log() { - [ $LOGGING ] || return; + [ $LOGGING ] || return 0; local fmt='%s\n' [ "$1" = "-n" ] && { fmt='%s'; shift; } printf "$fmt" "$*" |