Skip to content

cephadm: fix 2> syntax in unit.run#39003

Merged
liewegas merged 1 commit intoceph:masterfrom
liewegas:fix-cephadm-unit.run
Jan 22, 2021
Merged

cephadm: fix 2> syntax in unit.run#39003
liewegas merged 1 commit intoceph:masterfrom
liewegas:fix-cephadm-unit.run

Conversation

@liewegas
Copy link
Member

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: 1bed46e
Signed-off-by: Sage Weil sage@newdream.net

@liewegas liewegas requested a review from a team as a code owner January 21, 2021 15:11
@github-actions
Copy link

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

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: 1bed46e
Signed-off-by: Sage Weil <sage@newdream.net>
@tchaikov tchaikov force-pushed the fix-cephadm-unit.run branch from 04cf32f to ce4743f Compare January 22, 2021 11:12
@tchaikov
Copy link
Contributor

rebased against master.

@liewegas
Copy link
Member Author

retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants