]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-checkconfig: Fix bashism
authorStéphane Graber <stgraber@ubuntu.com>
Thu, 3 Feb 2022 02:11:09 +0000 (21:11 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 22 Feb 2022 04:05:27 +0000 (23:05 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/cmd/lxc-checkconfig.in

index 1061b062ff2d0bc98f3d2b9e980f431d49b9bd37..13eb777302e30fefd7ea89a3ac3eff04743dc4b5 100755 (executable)
@@ -111,7 +111,8 @@ KVER_MINOR=$($CAT $CONFIG | grep '^# Linux.*Kernel Configuration' | \
 fi
 
 if [ -z "${KVER_MAJOR}" ]; then
-    echo "WARNING: Unable to detect version from configuration, assuming latest\n"
+    echo "WARNING: Unable to detect version from configuration, assuming latest"
+    echo ""
     KVER_MAJOR="100"
     KVER_MINOR="0"
 fi