[lxc-devel] Please make "-f" mandatory in lxc-create
Aristeu Rozanski
aris at redhat.com
Tue May 29 13:57:38 UTC 2012
On Tue, May 29, 2012 at 10:47:47AM +0200, richard -rw- weinberger wrote:
> diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in
> index bd9a438..89f0889 100644
> --- a/src/lxc/lxc-create.in
> +++ b/src/lxc/lxc-create.in
> @@ -136,6 +136,12 @@ while true; do
> esac
> done
>
> +if [ ! -z "$1" ] ; then
minor nit: isn't "! -z" the same as "-n"?
--
Aristeu
More information about the lxc-devel
mailing list