Seagate / halon

High availability solution
Apache License 2.0
1 stars 0 forks source link

hctl: fix error when HALOND_STATION_OPTIONS is unset #1561

Closed andriytk closed 5 years ago

andriytk commented 5 years ago

This is the addon to commit 8d71b60 where we started using HALOND_STATION_OPTIONS parameter. hctl script uses `-u' option so it complained like this:

/usr/bin/hctl: line 31: HALOND_STATION_OPTIONS: unbound variable

if the parameter was unset at /etc/sysconfig/halond.

Now we explicitly set this variable to default value at hctl script if it is unset.

chumakd commented 5 years ago

merged

andriytk commented 5 years ago

@max-seagate.medved please review it.

andriytk commented 5 years ago

assigned to @dmitriy.chumak