fix infinite loop in bash

obsfucation is fun
This commit is contained in:
GaugeK committed 2020-08-20 06:08:11 +10:00
1 parent 8fa8da9b28
commit 170d2de99c
1 file changed
+3 -3
+3 -3
View File
@@ -8,9 +8,9 @@
exec 2>/dev/null exec 2>/dev/null
set -- set --
_() { # [ a = b ] with globbing _() { # [ a = b ] with globbing
! case $1 in # default return is 0 so double negative saves a line case $1 in
$2) return 1 $2) return
esac esac;! :
} }
## Terminal ## Terminal