Skip to content

Commit

Permalink
lxc-devsetup: Don't use [[ because sh does not support it
Browse files Browse the repository at this point in the history
Signed-off-by: ChangZhuo Chen (陳昌倬) <czchen@gmail.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
czchen authored and stgraber committed May 20, 2014
1 parent b20ded6 commit e702123
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/init/systemd/lxc-devsetup
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e702123

Please sign in to comment.