]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-fedora.in: Add missing default release variable
authorTuomas Suutari <tuomas.suutari@gmail.com>
Fri, 28 Oct 2011 21:55:38 +0000 (23:55 +0200)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Fri, 28 Oct 2011 21:55:38 +0000 (23:55 +0200)
The text says that 14 is default, but release=14 was not set anywhere
in the script.

Signed-off-by: Tuomas Suutari <tuomas.suutari@gmail.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
templates/lxc-fedora.in

index d35600afc65e9528a0ef389b7ab51eb428c60015..8588aefb178dcc8be416a22e77977c920d8ad3a3 100644 (file)
@@ -317,6 +317,7 @@ if [ -z "$release" ]; then
         release=$(cat /etc/fedora-release |awk '/^Fedora/ {print $3}')
     else
         echo "This is not a fedora host and release missing, defaulting to 14. use -R|--release to specify release"
+        release=14
     fi
 fi