Syntax in LXC.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 10 Dec 2015 15:52:28 +0000 (16:52 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 10 Dec 2015 15:52:28 +0000 (16:52 +0100)
lxc.sh

diff --git a/lxc.sh b/lxc.sh
index d8c8864..cd34e43 100755 (executable)
--- a/lxc.sh
+++ b/lxc.sh
@@ -104,7 +104,7 @@ __EOF__
 
 
 xml() {
-    if -n "${DISKS}"; then
+    if [ -n "${DISKS}" ]; then
                i=1
         if echo ${DISKS} | grep -q '^/dev/sda'; then
             src_i=1