From 37989aba62bc83cd02a7c19625ac71eeda437ebb Mon Sep 17 00:00:00 2001 From: Volker Uhrig Date: Fri, 9 Nov 2007 22:26:29 +0000 Subject: Ash reports "ash: missing ]" if there's no space and the script won't work anymore git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1408 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/Example/XX_Example.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os-plugins/plugins') diff --git a/os-plugins/plugins/Example/XX_Example.sh b/os-plugins/plugins/Example/XX_Example.sh index 6c1bc8ad..3f58d483 100644 --- a/os-plugins/plugins/Example/XX_Example.sh +++ b/os-plugins/plugins/Example/XX_Example.sh @@ -31,7 +31,7 @@ fi # for this example plugin, we simply take a filename from the configuration ... . /initramfs/plugin-conf/Example.conf -if ! [ -n $active]; then +if ! [ -n $active ]; then exit 0 fi -- cgit v1.2.3-55-g7522