Skip to content

Commit

Permalink
Work around 'info' argument not showing anything when quiet enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
simoniz0r committed May 29, 2018
1 parent b274459 commit 0290519
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion zyp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,15 @@ fi
case "$1" in
-q|--quiet)
shift
ZYPPER="zypper -q"
# work around 'info' argument not showing anything when quiet enabled
case "$1" in
info)
ZYPPER="zypper"
;;
*)
ZYPPER="zypper -q"
;;
esac
;;
*)
ZYPPER="zypper"
Expand Down

0 comments on commit 0290519

Please sign in to comment.