From 003e3045292c1a89e5d55edd6353630d59f2fda4 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 10 May 2010 12:50:50 +0000 Subject: [PATCH] remove function which is bashisam (and thus we work under dash as /bin/sh) git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@206 191e9f34-6774-4a6d-acfc-7664dacd4a2a --- recepies/lxc/ve2lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recepies/lxc/ve2lxc.sh b/recepies/lxc/ve2lxc.sh index 754e391..4e29629 100755 --- a/recepies/lxc/ve2lxc.sh +++ b/recepies/lxc/ve2lxc.sh @@ -16,7 +16,7 @@ tmp=/tmp/inittab cp $path $tmp || exit -function append() { +append() { if ! grep "$1" $path ; then echo "$1" >> $tmp fi -- 2.20.1