[Code formatting: Change indentation style to space](https://github.com/clicon/clixon/issues/379)

* Applies to all c/h/y/l/sh files and .editorconfig
This commit is contained in:
Olof hagsand 2022-10-27 14:21:17 +02:00
parent a9d1ab006c
commit d84c529ff1
376 changed files with 38147 additions and 38133 deletions

View file

@ -89,21 +89,21 @@ show("Show a particular state of the system"){
xml("Show configuration and state as XML")
default("With-default mode"){
report-all @datamodelshow, cli_show_auto("candidate", "xml", false, false, "report-all");
trim @datamodelshow, cli_show_auto("candidate", "xml", false, false, "trim");
explicit @datamodelshow, cli_show_auto("candidate", "xml", false, false, "explicit");
report-all-tagged @datamodelshow, cli_show_auto("candidate", "xml", false, false, "report-all-tagged");
report-all-tagged-default @datamodelshow, cli_show_auto("candidate", "xml", false, false, "report-all-tagged-default");
report-all-tagged-strip @datamodelshow, cli_show_auto("candidate", "xml", false, false, "report-all-tagged-strip");
trim @datamodelshow, cli_show_auto("candidate", "xml", false, false, "trim");
explicit @datamodelshow, cli_show_auto("candidate", "xml", false, false, "explicit");
report-all-tagged @datamodelshow, cli_show_auto("candidate", "xml", false, false, "report-all-tagged");
report-all-tagged-default @datamodelshow, cli_show_auto("candidate", "xml", false, false, "report-all-tagged-default");
report-all-tagged-strip @datamodelshow, cli_show_auto("candidate", "xml", false, false, "report-all-tagged-strip");
}
state("Show configuration and state")
xml("Show configuration and state as XML")
default("With-default mode"){
report-all @datamodelshow, cli_show_auto("running", "xml", false, true, "report-all");
trim @datamodelshow, cli_show_auto("running", "xml", false, true, "trim");
explicit @datamodelshow, cli_show_auto("running", "xml", false, true, "explicit");
report-all-tagged @datamodelshow, cli_show_auto("running", "xml", false, true, "report-all-tagged");
report-all-tagged-default @datamodelshow, cli_show_auto("running", "xml", false, true, "report-all-tagged-default");
report-all-tagged-strip @datamodelshow, cli_show_auto("running", "xml", false, true, "report-all-tagged-strip");
report-all @datamodelshow, cli_show_auto("running", "xml", false, true, "report-all");
trim @datamodelshow, cli_show_auto("running", "xml", false, true, "trim");
explicit @datamodelshow, cli_show_auto("running", "xml", false, true, "explicit");
report-all-tagged @datamodelshow, cli_show_auto("running", "xml", false, true, "report-all-tagged");
report-all-tagged-default @datamodelshow, cli_show_auto("running", "xml", false, true, "report-all-tagged-default");
report-all-tagged-strip @datamodelshow, cli_show_auto("running", "xml", false, true, "report-all-tagged-strip");
}
}
EOF
@ -123,7 +123,7 @@ if [ $BE -ne 0 ]; then # Bring your own backend
new "kill old backend"
sudo clixon_backend -zf $cfg
if [ $? -ne 0 ]; then
err
err
fi
new "start backend -s $db -f $cfg"
start_backend -s $db -f $cfg
@ -241,7 +241,7 @@ if [ $BE -ne 0 ]; then # Bring your own backend
# Check if premature kill
pid=$(pgrep -u root -f clixon_backend)
if [ -z "$pid" ]; then
err "backend already dead"
err "backend already dead"
fi
# kill backend
stop_backend -f $cfg