mirror of
https://github.com/notwa/rc
synced 2024-11-05 05:29:02 -08:00
fix inverted logic in witch
This commit is contained in:
parent
194f5eb8d3
commit
466722d107
1 changed files with 1 additions and 1 deletions
2
sh/witch
2
sh/witch
|
@ -26,7 +26,7 @@ for flag; do
|
|||
esac
|
||||
done
|
||||
|
||||
[ "$#" != 0 ] && res=1 || res=0
|
||||
[ "$#" = 0 ] && res=1 || res=0
|
||||
|
||||
IFS=:
|
||||
for prog; do
|
||||
|
|
Loading…
Reference in a new issue