From: <bva...@us...> - 2021-06-18 04:45:40
|
Revision: 9440 http://sourceforge.net/p/scst/svn/9440 Author: bvassche Date: 2021-06-18 04:45:40 +0000 (Fri, 18 Jun 2021) Log Message: ----------- scstadmin: Fix a bug in the code for forcibly applying a configuration Pass the -force option from ... to removeGroup(). Signed-off-by: YuFan Chen <wiz...@gm...> [ bvanassche: added commit message ] Modified Paths: -------------- trunk/scstadmin/scstadmin.sysfs/scstadmin Modified: trunk/scstadmin/scstadmin.sysfs/scstadmin =================================================================== --- trunk/scstadmin/scstadmin.sysfs/scstadmin 2021-05-31 03:01:15 UTC (rev 9439) +++ trunk/scstadmin/scstadmin.sysfs/scstadmin 2021-06-18 04:45:40 UTC (rev 9440) @@ -2445,7 +2445,8 @@ if (!defined($$config{'TARGET_DRIVER'}->{$driver}->{'TARGET'}->{$target}->{'GROUP'}->{$group})) { if ($deletions) { - removeGroup($driver, $target, $group); + removeGroup($driver, $target, + $group, TRUE); $changes++; } else { print "\t-> Group '$group' is not in configuration. Use -force to remove.\n"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |