1 Commits
Author SHA1 Message Date
GaugeK 205831ab61 fix infinite loop in bash
obsfucation is fun
2020-08-20 06:08:11 +10:00
+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