Browse Source

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

Line 16 made an exit without any output
Ranoiaetep 3 years ago
parent
commit
d278f22438
1 changed files with 1 additions and 1 deletions
  1. 1 1
      generate_config.sh

+ 1 - 1
generate_config.sh

@@ -12,8 +12,8 @@ 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\""
+    exit 1
   fi
   fi
-  exit 1
 fi
 fi
 
 
 if grep --help 2>&1 | grep -q -i "busybox"; then
 if grep --help 2>&1 | grep -q -i "busybox"; then