Skip to content

Commit

Permalink
Fix some shellcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarier committed Feb 14, 2017
1 parent 3d49349 commit fb752e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions i3-battery-indicator
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ function killNagBar {
fi
}

# shellcheck disable=SC2078
while [ true ]; do
while true; do

killNagBar

Expand Down
2 changes: 1 addition & 1 deletion mcswitch
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ fi


rm .mozconfig
ln -s .mozconfig-$1 .mozconfig
ln -s ".mozconfig-$1" .mozconfig
ls -l --color .mozconfig
2 changes: 1 addition & 1 deletion pinentry-smart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PINENTRY_TERMINAL=/usr/bin/pinentry-curses
PINENTRY_X11=/usr/bin/pinentry-gnome3

# Action happens below!
if [ -n "$DISPLAY" -a -z "$TERM" ]; then
if [ -n "$DISPLAY" ] && [ -z "$TERM" ]; then
exec "$PINENTRY_X11" "$@"
else
exec "$PINENTRY_TERMINAL" "$@"
Expand Down

0 comments on commit fb752e7

Please sign in to comment.