[lxc-devel] [PATCH] lxc.functions isn't a shell script
Serge Hallyn
serge.hallyn at canonical.com
Fri Feb 8 21:31:41 UTC 2013
Quoting Stéphane Graber (stgraber at ubuntu.com):
> lxc.functions.in is meant to be sourced, not to be called as a script.
> So as it's not executable and not meant to be, it shouldn't have
> a /bin/sh shebang.
>
> This fixes an error reported by lintian.
>
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Oops. I think I first meant to make it executable with a bit at
the end so you could run it and get debug info, but that seems
python-ish and silly for bash, so I didn't :)
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
> ---
> src/lxc/lxc.functions.in | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/src/lxc/lxc.functions.in b/src/lxc/lxc.functions.in
> index 3425929..ffc841a 100644
> --- a/src/lxc/lxc.functions.in
> +++ b/src/lxc/lxc.functions.in
> @@ -1,5 +1,3 @@
> -#!/bin/sh
> -
> #
> # lxc: linux Container library
>
> --
> 1.8.1.2
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel
More information about the lxc-devel
mailing list