From bacb593f25d770f14e48880bfe7a8e47190de31a Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 13 May 2011 09:55:48 +0000 Subject: Fixed an embedded shell script. Reviewed by: sobomax --- usr.bin/mkuzip/mkuzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/mkuzip/mkuzip.c b/usr.bin/mkuzip/mkuzip.c index 02ebefa..08c8ed0 100644 --- a/usr.bin/mkuzip/mkuzip.c +++ b/usr.bin/mkuzip/mkuzip.c @@ -31,7 +31,7 @@ #define CLOOP_MAGIC_LEN 128 static char CLOOP_MAGIC_START[] = "#!/bin/sh\n#V2.0 Format\n" - "m=geom_uzip\n(kldstat -m $m 2>&-||kldload $m)>&-&&" + "(kldstat -qm g_uzip||kldload geom_uzip)>&-&&" "mount_cd9660 /dev/`mdconfig -af $0`.uzip $1\nexit $?\n"; static char *readblock(int, char *, u_int32_t); -- cgit v1.1