summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-05-26 17:35:44 +0200
committerKay Sievers <kay.sievers@suse.de>2006-05-26 17:35:44 +0200
commitecc527e0becc01811220fdc9b433c51dc97569c7 (patch)
tree1e24b8f9e1dbb4ade23e517d30716ffa8b982c1f /extras
parent7223b9c951563191d8c8b269d166a2236578e66b (diff)
path_id: prevent endless loop for SAS devices on older kernels
Diffstat (limited to 'extras')
-rw-r--r--extras/path_id/path_id3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/path_id/path_id b/extras/path_id/path_id
index a6dfbf1a08..f9b3d5a73f 100644
--- a/extras/path_id/path_id
+++ b/extras/path_id/path_id
@@ -252,6 +252,7 @@ handle_fc () {
fi
if [ -z "$wwpn" ] ; then
: no WWPN
+ D=
RESULT=1
return
fi
@@ -290,6 +291,7 @@ handle_sas () {
fi
if [ -z "$phy_address" ] ; then
: no initiator address
+ D=
RESULT=1
return
fi
@@ -301,6 +303,7 @@ handle_sas () {
fi
if [ -z "$rphy_address" ] ; then
: no initiator address
+ D=
RESULT=1
return
fi