summary refs log tree commit diff
path: root/shutdown
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2015-04-09 07:54:52 +0200
committerJuan RP <xtraeme@gmail.com>2015-04-09 07:54:52 +0200
commit8ad69ea409e42e81b672808d8d26cb01181699c8 (patch)
treea75c9d88382bddce9837cd89150f7a292df8f071 /shutdown
parentc6c53024e237ea395b97991c04cdc39b1bb98eef (diff)
parentf11386d2dc9b91cd27f362b69d999bb2ece40d18 (diff)
downloadrunit-void-8ad69ea409e42e81b672808d8d26cb01181699c8.tar.gz
runit-void-8ad69ea409e42e81b672808d8d26cb01181699c8.tar.xz
runit-void-8ad69ea409e42e81b672808d8d26cb01181699c8.zip
Merge pull request #33 from nmeum/style
Style fixes
Diffstat (limited to 'shutdown')
-rwxr-xr-xshutdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/shutdown b/shutdown
index 4a3147b..b456647 100755
--- a/shutdown
+++ b/shutdown
@@ -11,14 +11,14 @@ abort() {
 }
 
 usage() {
-  abort "Usage: shutdown [-fF] [-kchPr] time [warning message]"
+  abort "Usage: ${0##*/} [-fF] [-kchPr] time [warning message]"
 }
 
 action=single
 
 while getopts akrhPHfFnct: opt; do
   case "$opt" in
-    a|n|H) abort "-$opt is not implemented";;
+    a|n|H) abort "'-$opt' is not implemented";;
     t) ;;
     f) touch /fastboot;;
     F) touch /forcefsck;;