summaryrefslogtreecommitdiffstats
path: root/src/lib/globals
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-01-03 16:16:25 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2013-01-03 16:16:25 +0100
commit6539dfe0df5c19e8acb8fe251b46098a25719cbc (patch)
tree72a2e189ca588b4d3878db73cb7171063287d35e /src/lib/globals
parentfafa6603f87d68fd6b30dcfd4600cb1006e02a9e (diff)
downloadnetctl-6539dfe0df5c19e8acb8fe251b46098a25719cbc.tar.gz
netctl-6539dfe0df5c19e8acb8fe251b46098a25719cbc.tar.xz
Indentation fixes
This settles a style for 'case' statements: The label and closing colons are indented with two spaces, The body is indented with two more, totalling four spaces.
Diffstat (limited to 'src/lib/globals')
-rw-r--r--src/lib/globals10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/globals b/src/lib/globals
index 8277a40..51acb0d 100644
--- a/src/lib/globals
+++ b/src/lib/globals
@@ -45,14 +45,14 @@ is_yes() {
case ${1,,} in
yes|true|on|1)
return 0
- ;;
+ ;;
no|false|off|0)
return 1
- ;;
+ ;;
*)
report_error "Not a valid truth value: '$1'"
return 1
- ;;
+ ;;
esac
}
@@ -61,8 +61,8 @@ is_yes() {
## Show what we evaluate when debugging, but always evaluate
do_debug() {
- report_debug "${FUNCNAME[1]}:" "$@"
- "$@"
+ report_debug "${FUNCNAME[1]}:" "$@"
+ "$@"
}
## Exit if we are not effectively root