diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2012-12-22 03:05:14 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2012-12-22 03:05:14 +0000 |
commit | 5915919120e2e85685d565c4537238889d2d9ab7 (patch) | |
tree | 9c7c621837b1d1f63db6a02798ab7d4877d5b923 /archive | |
parent | 07c24897e9c0345b43fca8e982ba22e5f9b8ea90 (diff) | |
download | sg3_utils-5915919120e2e85685d565c4537238889d2d9ab7.tar.gz |
another rescan-scsi-bus.sh patch; man page hyphens
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@472 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'archive')
-rwxr-xr-x | archive/rescan-scsi-bus.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archive/rescan-scsi-bus.sh b/archive/rescan-scsi-bus.sh index 09744bb8..e3b80d04 100755 --- a/archive/rescan-scsi-bus.sh +++ b/archive/rescan-scsi-bus.sh @@ -623,7 +623,7 @@ modprobe sg >/dev/null 2>&1 if test -x /usr/bin/sg_inq; then sg_version=$(sg_inq -V 2>&1 | cut -d " " -f 3) - sg_version=${sg_version##0.} + sg_version=${sg_version/./} #echo "\"$sg_version\"" if [ -z "$sg_version" -o "$sg_version" -lt 70 ] ; then sg_len_arg="-36" |