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 205831ab61
1 file changed
+3 -3
+3 -3
View File
@@ -8,9 +8,9 @@
exec 2>/dev/null
set --
_() { # [ a = b ] with globbing
! case $1 in # default return is 0 so double negative saves a line
$2) return 1
esac
case $1 in
$2) return
esac;! :
}
## Terminal