Commit eeb80428 by ChangZhuo Chen (陳昌倬) Committed by Stéphane Graber

lxc-devsetup: Don't use [[ because sh does not support it

parent 11ef0233
......@@ -2,7 +2,7 @@
# lxc.devsetup - Setup host /dev for container /dev subdirectories.
if [[ ! -d /dev/.lxc ]]
if [ ! -d /dev/.lxc ]
then
echo "Creating /dev/.lxc"
mkdir /dev/.lxc
......@@ -17,7 +17,7 @@ else
mount -t tmpfs tmpfs /dev/.lxc
fi
if [[ ! -d /dev/.lxc/user ]]
if [ ! -d /dev/.lxc/user ]
then
echo "Creating /dev/.lxc/user"
mkdir /dev/.lxc/user
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment