Package: lxc
Version: 0.7.4.2-1
Severity: minor
File: /usr/bin/lxc-create
Hello,
I read through /usr/bin/lxc-create and noticed that it has:
if [ ! -r $lxc_path ]; then
echo "configuration path '$lxc_path' not found"
exit 1
fi
...
if [ ! -r $lxc_path ]; then
echo "no configuration path defined !"
exit 1
fi
Apart from missing quoting the second if will never trigger and so can
be removed.
(What I originally looked for is if I can override the path on the
command line, but it cannot :-( )
Best regards
Uwe
-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (900, 'stable-updates'), (900, 'proposed-updates'), (900,
'stable'), (800, 'testing-proposed-updates'), (800, 'testing'), (700,
'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-rc6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lxc depends on:
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii libcap2 1:2.19-3 support for getting/setting POSIX.
Versions of packages lxc recommends:
ii debootstrap 1.0.32 Bootstrap a basic Debian system
ii libcap2-bin 1:2.19-3 basic utility programs for using c
lxc suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]