Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: drbd-dev@lists.linbit.com
Subject: [Drbd-dev] crm-fence-peer.sh missing shell expansion
Date: Thu, 7 May 2015 23:55:17 -0500	[thread overview]
Message-ID: <20150508045517.GA6131@telsasoft.com> (raw)

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 ) \

             reply	other threads:[~2015-05-08  4:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-08  4:55 Justin Pryzby [this message]
2015-05-08  8:03 ` [Drbd-dev] crm-fence-peer.sh missing shell expansion Roland Kammerer
2015-05-08 15:09   ` Justin Pryzby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150508045517.GA6131@telsasoft.com \
    --to=pryzby@telsasoft.com \
    --cc=drbd-dev@lists.linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox