summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2011-05-13 09:55:48 +0000
committerru <ru@FreeBSD.org>2011-05-13 09:55:48 +0000
commitbacb593f25d770f14e48880bfe7a8e47190de31a (patch)
tree4130b34836e051e9005b7e45e954847fed2e7db5 /usr.bin
parent410ff8d8e2715a88fd3194f1a7a96cec047fb67b (diff)
downloadFreeBSD-src-bacb593f25d770f14e48880bfe7a8e47190de31a.zip
FreeBSD-src-bacb593f25d770f14e48880bfe7a8e47190de31a.tar.gz
Fixed an embedded shell script.
Reviewed by: sobomax
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mkuzip/mkuzip.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud