From: Michael Tremer Date: Tue, 20 Jan 2026 15:08:38 +0000 (+0000) Subject: core200: Fix shell syntax error in update script X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=889d63257973ebe96e36cbc275a05bbebaeaee9e;p=ipfire-2.x.git core200: Fix shell syntax error in update script Reported-by: Adam Gibbons Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/200/update.sh b/config/rootfiles/core/200/update.sh index 59993b195..cf5ca344a 100644 --- a/config/rootfiles/core/200/update.sh +++ b/config/rootfiles/core/200/update.sh @@ -72,8 +72,9 @@ if [ $BOOTSIZE -lt 100000 ]; then fi # Check if reiser filesystem is used -if [ `/bin/grep -c "reiserfs" /proc/self/mounts` > 0 ]; then +if grep -q "reiserfs" /proc/self/mounts; then exit_with_error "ERROR cannot update because reiserfs no longer supported by kernel." 4 +fi # Remove the old kernel rm -rvf \