[Drbd-dev] crm-fence-peer.sh missing shell expansion

Justin Pryzby pryzby at telsasoft.com
Fri May 8 06:55:17 CEST 2015


There are several instances of unexpanded variables in here:

                sleep $(( net_hickup_time - SECONDS ))
        reboot_timeout=$(( reboot_timeout + SECONDS ))
                echo WARNING "${extra_msg}going to reboot -f in $(( reboot_timeout - SECONDS )) seconds! To cancel: kill $$"
                        if out=$( crmadmin -t $(( cibtimeout * 200 )) -S $DRBD_PEER ) \


More information about the drbd-dev mailing list