]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: update unit.* atomically 33895/head
authorSage Weil <sage@redhat.com>
Fri, 6 Mar 2020 23:43:33 +0000 (17:43 -0600)
committerSage Weil <sage@redhat.com>
Wed, 11 Mar 2020 23:17:40 +0000 (18:17 -0500)
commitb767deb78e6aea8024749b5684a202b304dcd8c3
tree73f6df11d25dcbf079b76c4e30fe2d76e96a37fb
parent23e78df6153558a756b7d771525e3f47426c00eb
cephadm: update unit.* atomically

Some of these are run as bash scripts, which means that updating them
can lead to the running bash picking up at a weird position mid-script
when it goes to the next command.  This produces weird errors like

bash[9321]: /var/lib/ceph/f1758250-639e-11ea-9a42-001a4aab830c/mon.c/unit.run: line 2: -to-stderr=true: command not found

Signed-off-by: Sage Weil <sage@redhat.com>
src/cephadm/cephadm