diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2014-09-23 10:53:32 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-09-23 10:53:32 +0200 |
commit | 681cff1c3be145f8f4120044808299d92ea4b763 (patch) | |
tree | de34be01dfef46d0882abd78c98b09364f4b2b5a /sysconfig/network-scripts | |
parent | 5f04c25515f637a5b8ecd329e14af0e6fe345d42 (diff) | |
download | initscripts-681cff1c3be145f8f4120044808299d92ea4b763.tar initscripts-681cff1c3be145f8f4120044808299d92ea4b763.tar.gz initscripts-681cff1c3be145f8f4120044808299d92ea4b763.tar.bz2 initscripts-681cff1c3be145f8f4120044808299d92ea4b763.tar.xz initscripts-681cff1c3be145f8f4120044808299d92ea4b763.zip |
network_function: return immediately when device is present
Diffstat (limited to 'sysconfig/network-scripts')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index fa62dddd..0e86efd0 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -339,7 +339,7 @@ is_available_wait () is_available $1 ret=$? - [ 0"$ret" -gt 0 ] && return $ret + [ 0"$ret" -ne 1 ] && return $ret while [ 0"$retry" -gt 0 ]; do sleep 1 |