Skip to content

Commit

Permalink
fix new rc logic
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrichert committed May 28, 2024
1 parent d5946c4 commit d4fef44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xCAT/postscripts/nicutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,7 @@ function add_extra_params_nmcli {
# For RHEL 9, use nmcli directly, otherwise use ifcfg scheme.
if [[ "$OSVER" =~ rhels9 ]]; then
nmcli con modify "$con_name" "$name" "$value"
return $?
rc+=$?
else
grep $name $str_conf_file >/dev/null 2>/dev/null
if [ $? -eq 0 ]; then
Expand Down

0 comments on commit d4fef44

Please sign in to comment.