aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2020-08-04 10:11:03 +0200
committerOlav Vitters <olav@vitters.nl>2020-08-04 10:11:03 +0200
commit65aa147caff34e93d2b87ce94679c8a25755c500 (patch)
tree87a4a341b6ef009179e995557452e66d92bbb46b
parent40a4bd93aacafca2a6284c3bd493bcfa8eac7aef (diff)
downloadinitscripts-65aa147caff34e93d2b87ce94679c8a25755c500.tar
initscripts-65aa147caff34e93d2b87ce94679c8a25755c500.tar.gz
initscripts-65aa147caff34e93d2b87ce94679c8a25755c500.tar.bz2
initscripts-65aa147caff34e93d2b87ce94679c8a25755c500.tar.xz
initscripts-65aa147caff34e93d2b87ce94679c8a25755c500.zip
further whitespace fixes
-rwxr-xr-xetc/rc.d/init.d/functions26
1 files changed, 13 insertions, 13 deletions
diff --git a/etc/rc.d/init.d/functions b/etc/rc.d/init.d/functions
index cc2f2c26..e7dacc53 100755
--- a/etc/rc.d/init.d/functions
+++ b/etc/rc.d/init.d/functions
@@ -134,19 +134,19 @@ gprintf_msg_rest() {
return
fi
case "$1" in
- *%s*%s*%s*%s*)
- GPRINTF_MSG=$(gprintf "$1" "$2" "$3" "$4" "$5")
- shift 5;;
- *%s*%s*%s*)
- GPRINTF_MSG=$(gprintf "$1" "$2" "$3" "$4")
- shift 4;;
- *%s*%s*)
- GPRINTF_MSG=$(gprintf "$1" "$2" "$3")
- shift 3;;
- *%s*)
- GPRINTF_MSG=$(gprintf "$1" "$2")
- shift 2;;
- *)
+ *%s*%s*%s*%s*)
+ GPRINTF_MSG=$(gprintf "$1" "$2" "$3" "$4" "$5")
+ shift 5;;
+ *%s*%s*%s*)
+ GPRINTF_MSG=$(gprintf "$1" "$2" "$3" "$4")
+ shift 4;;
+ *%s*%s*)
+ GPRINTF_MSG=$(gprintf "$1" "$2" "$3")
+ shift 3;;
+ *%s*)
+ GPRINTF_MSG=$(gprintf "$1" "$2")
+ shift 2;;
+ *)
GPRINTF_MSG=$(gprintf "$1")
# function may be called without any arguments, e.g. for 'success'
[ $# -ne 0 ] && shift