Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
sg3_utils.1394
rescan-scsi-bus.sh-findremapped-fix-regex.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rescan-scsi-bus.sh-findremapped-fix-regex.patch of Package sg3_utils.1394
From: Thomas Cech <tcech@suse.cz> Subject: rescan-scsi-bus.sh: fix regexp not to produce string with spaces fix regexp not to produce string with spaces References: bnc#943817 --- scripts/rescan-scsi-bus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/scripts/rescan-scsi-bus.sh +++ b/scripts/rescan-scsi-bus.sh @@ -286,7 +286,7 @@ testonline () echo -e "\e[A\e[A\e[A\e[A${red}$SGDEV changed: ${bold}\nfrom:${SCSISTR#* } \nto: $STR ${norm} \n\n\n" return 1 fi - TMPSTR=`echo "$SCSISTR" | sed -n 's/.*Type: *\([a-zA-Z-]*\) *ANSI.*/\1/p'` + TMPSTR=`echo "$SCSISTR" | sed -n 's/.*Type: *\([^ ]*\) *ANSI.*/\1/p'` if [ "$TMPSTR" != "$TYPE" ] ; then echo -e "\e[A\e[A\e[A\e[A${red}$SGDEV changed: ${bold}\nfrom:${TMPSTR} \nto: $TYPE ${norm} \n\n\n" return 1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor