[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

@ -22,37 +22,37 @@ module example {
prefix ex;
typedef uniontype {
type union {
type enumeration {
type enumeration {
enum u1;
enum u2;
}
type string;
type string;
}
}
/* Generic config data */
container tableleaf{
list parleaf{
description "leaf is union type";
key name;
leaf name{
type string;
}
leaf value{
type uniontype;
}
}
list parleaf{
description "leaf is union type";
key name;
leaf name{
type string;
}
leaf value{
type uniontype;
}
}
}
container tablekey{
list parkey{
description "key is union type";
key name;
leaf name{
type uniontype;
}
leaf value{
type string;
}
}
list parkey{
description "key is union type";
key name;
leaf name{
type uniontype;
}
leaf value{
type string;
}
}
}
}
EOF
@ -103,7 +103,7 @@ if [ $BE -ne 0 ]; then
new "kill old backend"
sudo clixon_backend -z -f $cfg
if [ $? -ne 0 ]; then
err
err
fi
new "start backend -s init -f $cfg"
start_backend -s init -f $cfg
@ -155,7 +155,7 @@ if [ $BE -ne 0 ]; then
# 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