initctl: let -n ignore errors from enable/disable as well

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2023-03-27 14:27:16 +02:00
1 parent 7703d00e82
commit 8f1d1717f8
3 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -1267,7 +1267,7 @@ static int usage(int rc)
" -f, --force Ignore missing files and arguments, never prompt\n"
" -h, --help This help text\n"
" -j, --json JSON output in 'status' and 'cond' commands\n"
" -n, --noerr Ignore error for non-existent services\n"
" -n, --noerr Ignore error, e.g., already started/enabled/...\n"
" -1, --once Only one lap in commands like 'top'\n"
" -p, --plain Use plain table headings, no ctrl chars\n"
" -q, --quiet Silent, only return status of command\n"