|
Lines 378-384
Link Here
|
| 378 |
# We should really check for valid cmd AND pidfile |
378 |
# We should really check for valid cmd AND pidfile |
| 379 |
# But most called to --stop only set the pidfile |
379 |
# But most called to --stop only set the pidfile |
| 380 |
if [[ ${RC_DAEMONS[i]} == "{cmd}" \ |
380 |
if [[ ${RC_DAEMONS[i]} == "{cmd}" \ |
| 381 |
|| ${RC_PIDFILES[i]}="${pidfile}" ]]; then |
381 |
|| ${RC_PIDFILES[i]} == "${pidfile}" ]]; then |
| 382 |
unset RC_DAEMONS[i] RC_PIDFILES[i] |
382 |
unset RC_DAEMONS[i] RC_PIDFILES[i] |
| 383 |
RC_DAEMONS=( "${RC_DAEMONS[@]}" ) |
383 |
RC_DAEMONS=( "${RC_DAEMONS[@]}" ) |
| 384 |
RC_PIDFILES=( "${RC_PIDFILES[@]}" ) |
384 |
RC_PIDFILES=( "${RC_PIDFILES[@]}" ) |