marsadm: allow systemd commands on non-initialized /mars

This commit is contained in:
Thomas Schoebel-Theuer 2019-02-02 16:05:14 +01:00 committed by Thomas Schoebel-Theuer
parent cabb3cbe5c
commit e2ed431fd0
1 changed files with 1 additions and 1 deletions

View File

@ -6404,7 +6404,7 @@ if ($cmd =~ m/^lowlevel-/) {
}
}
if ($cmd !~ m/(create|join)-cluster|create-uuid|cat|view|pretty/) {
if ($cmd !~ m/(create|join)-cluster|create-uuid|systemd|cat|view|pretty/) {
my $uuid = get_link("$mars/uuid", 1);
ldie "No valid cluster UUID $mars/uuid found. You need {create,join}-cluster first (or create-uuid).\n" unless $uuid;
}