Skip to content

Commit

Permalink
Fix debug to correctly display %-including values
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Jun 19, 2016
1 parent a052063 commit 2777c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aurget
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ warn() { printf "${colorY}warning:$nocolor $*\n" >&2; }
error() { printf "${colorR}error:$nocolor $*\n" >&2; }

debug() {
$debug && printf "$colorW[${colorC}DEBUG$colorW]$nocolor $*\n" >&2
$debug && printf "$colorW[${colorC}DEBUG$colorW]$nocolor ${*//%/%%}\n" >&2
}

# thanks Irm
Expand Down

0 comments on commit 2777c3f

Please sign in to comment.