[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:
parent
a9d1ab006c
commit
d84c529ff1
376 changed files with 38147 additions and 38133 deletions
|
|
@ -52,21 +52,21 @@ module clixon-client {
|
|||
namespace "urn:example:clixon-client";
|
||||
prefix exc;
|
||||
description
|
||||
"Clixon client example yang";
|
||||
"Clixon client example yang";
|
||||
revision 2021-01-14 {
|
||||
description "Added table/paramater/value as the primary data example";
|
||||
}
|
||||
/* Generic config data */
|
||||
container table{
|
||||
list parameter{
|
||||
key name;
|
||||
leaf name{
|
||||
type string;
|
||||
}
|
||||
leaf value{
|
||||
type uint32;
|
||||
}
|
||||
}
|
||||
key name;
|
||||
leaf name{
|
||||
type string;
|
||||
}
|
||||
leaf value{
|
||||
type uint32;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
|
@ -111,7 +111,7 @@ main(int argc,
|
|||
done:
|
||||
clixon_client_disconnect(ch);
|
||||
clixon_client_terminate(h);
|
||||
printf("done\n"); /* for test output */
|
||||
printf("done\n"); /* for test output */
|
||||
return retval;
|
||||
}
|
||||
EOF
|
||||
|
|
@ -132,7 +132,7 @@ if [ $BE -ne 0 ]; then
|
|||
new "kill old backend"
|
||||
sudo clixon_backend -zf $cfg
|
||||
if [ $? -ne 0 ]; then
|
||||
err
|
||||
err
|
||||
fi
|
||||
new "start backend"
|
||||
start_backend -s init -f $cfg
|
||||
|
|
@ -174,7 +174,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue