Skip to content

Commit

Permalink
fix: unbound variable
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Jun 21, 2023
1 parent 1da60ad commit f3d7993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hooks/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
PS4='+ Line $(expr $LINENO + 4): '
if [[ ''${NIXAGO_LOG-1} -gt 0 ]]; then
if [[ -n $NIXAGO_LOG_FORMAT ]]; then
if [[ -n ''${NIXAGO_LOG_FORMAT-} ]]; then
nixago_log_format="''${NIXAGO_LOG_FORMAT}"
elif [[ -n $DIRENV_LOG_FORMAT ]]; then
nixago_log_format="''${DIRENV_LOG_FORMAT/direnv/nixago}"
Expand Down

0 comments on commit f3d7993

Please sign in to comment.