[Update] Fix exit in generate_config.sh (#4274)

Line 16 made an exit without any output
master
Ranoiaetep 2021-10-23 11:49:04 -04:00 committed by GitHub
parent 32745efd13
commit d278f22438
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,9 +12,9 @@ if [[ "$(uname -r)" =~ ^4\.4\. ]]; then
if grep -q Ubuntu <<< $(uname -a); then if grep -q Ubuntu <<< $(uname -a); then
echo "DO NOT RUN mailcow ON THIS UBUNTU KERNEL!"; echo "DO NOT RUN mailcow ON THIS UBUNTU KERNEL!";
echo "Please update to linux-generic-hwe-16.04 by running \"apt-get install --install-recommends linux-generic-hwe-16.04\"" echo "Please update to linux-generic-hwe-16.04 by running \"apt-get install --install-recommends linux-generic-hwe-16.04\""
fi
exit 1 exit 1
fi fi
fi
if grep --help 2>&1 | grep -q -i "busybox"; then if grep --help 2>&1 | grep -q -i "busybox"; then
echo "BusyBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\"" echo "BusyBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\""