Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
lio-utils.2657
0115-lio-utils-Use-the-proper-conditional-inver...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0115-lio-utils-Use-the-proper-conditional-inversion-in-sh.patch of Package lio-utils.2657
From ff5e42eff24acdac5b2123afb83c63a88377cc51 Mon Sep 17 00:00:00 2001 From: Nicholas Bellinger <nab@risingtidesystems.com> Date: Tue, 9 Oct 2012 14:51:33 -0700 Subject: lio-utils: Use the proper conditional inversion in shutdown_lio_mod Fix up commit 95042b812a10 to use the proper conditional inversion opertators in shutdown_lio_mod(). Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com> --- scripts/rc.target | 2 +- scripts/rc.target.suse | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/rc.target b/scripts/rc.target index d5243e2..b269ef3 100644 --- a/scripts/rc.target +++ b/scripts/rc.target @@ -282,7 +282,7 @@ function shutdown_fabrics() { } function shutdown_lio_mod () { - if -ne lsmod | grep -q iscsi_target_mod ; then + if ! lsmod | grep -q iscsi_target_mod ; then return 0 fi diff --git a/scripts/rc.target.suse b/scripts/rc.target.suse index a3806fa..5aa5283 100644 --- a/scripts/rc.target.suse +++ b/scripts/rc.target.suse @@ -214,7 +214,7 @@ function shutdown_fabrics() { } function shutdown_lio_mod () { - if -ne lsmod | grep -q iscsi_target_mod ; then + if ! lsmod | grep -q iscsi_target_mod ; then echo -n $"Unloading LIO-Target/ConfigFS fabric: " ${LIO_NODE} --unload rc_status -v -- 1.8.1.4
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