]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: fix 2> syntax in unit.run 39003/head
authorSage Weil <sage@newdream.net>
Thu, 21 Jan 2021 15:10:51 +0000 (09:10 -0600)
committerKefu Chai <kchai@redhat.com>
Fri, 22 Jan 2021 11:11:39 +0000 (19:11 +0800)
commitce4743f72e6c7eea9514b8c9b6c20309fea5d455
treea5d04bf0061e6d085dc2c00c83ae1f6b18cbcab4
parente27cc8183e8e1a9e5461026f5ad0dc163e84dcc0
cephadm: fix 2> syntax in unit.run

We need a space between the command (which ends with a container name)
and the 2> or else the 2 is considered part of the command.  E.g.,

! /usr/bin/podman rm -f ceph-a9a8c7ee-5b72-11eb-8f93-001a4aab830c-mon.a2> /dev/null

Fixes: 1bed46e4b0094863a119df59c6ae5f254c2e211d
Signed-off-by: Sage Weil <sage@newdream.net>
src/cephadm/cephadm