3 ms·
There’s a typo on this line; a semicolon or newline is required before }: -[ $EUID -ne 0 ] && { echo You must be root; exit 1 } +[ $EUID -ne 0 ] && { e
by anderskaseorg 6y ago
There’s a typo on this line; a semicolon or newline is required before }:
-[ $EUID -ne 0 ] && { echo You must be root; exit 1 }
+[ $EUID -ne 0 ] && { echo You must be root; exit 1; }
- cb321 6y agoAnd also the same typo on the more general line just above what @anderskaseorg mentions (i.e. `{ expr }`) which should read `{ expr; }` (or line breaks instead of leading space/ trailing ';', etc. Such quirky syntax.)