Commit e7f0d733 by Serge Hallyn Committed by Daniel Lezcano

lxc-ls: prepend container name with -- when calling ls

Otherwise a container name with a dash confuses ls Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent a11a544f
......@@ -97,4 +97,4 @@ if [ -z "$containers" ]; then
fi
cd "$directory"
ls -d $@ $containers
ls -d $@ -- $containers
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