浏览代码

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

Line 16 made an exit without any output
Ranoiaetep 3 年之前
父节点
当前提交
d278f22438
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
     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\""
+    exit 1
   fi
-  exit 1
 fi
 
 if grep --help 2>&1 | grep -q -i "busybox"; then