diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-05-31 09:16:36 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-05-31 09:16:36 +0000 |
commit | dde8c58e3bf721803f36c54ccba99dfe81472e08 (patch) | |
tree | 85564d6b0e155602b1916b047fc985619bfd3c09 /usr.sbin | |
parent | b335daef492fdce3e905af0ad32ea66c1ab0a004 (diff) |
tweak the sample attach script; ok grange
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/hotplugd/hotplugd.8 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/hotplugd/hotplugd.8 b/usr.sbin/hotplugd/hotplugd.8 index d94a0f523bc..4db8280b258 100644 --- a/usr.sbin/hotplugd/hotplugd.8 +++ b/usr.sbin/hotplugd/hotplugd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hotplugd.8,v 1.2 2004/12/25 20:05:43 ian Exp $ +.\" $OpenBSD: hotplugd.8,v 1.3 2006/05/31 09:16:35 jmc Exp $ .\" .\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> .\" @@ -94,8 +94,8 @@ case $DEVCLASS in 2) # disk devices - disklabel=`/sbin/disklabel $DEVNAME | grep '^label:' | \e - sed -e 's/^label: //'` + disklabel=`/sbin/disklabel $DEVNAME 2>&1 | \e + grep '^label:' | sed -e 's/^label: //'` case $disklabel in Sony*DSC*) # Sony DSC camera |