Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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; }


And 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.)




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: