[lxc-devel] [PATCH] lxc.functions isn't a shell script

Stéphane Graber stgraber at ubuntu.com
Fri Feb 8 21:03:08 UTC 2013


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>
---
 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





More information about the lxc-devel mailing list