Fixed indentation

It was using a mixture of tabs and spaces. Converted to 2 spaces.
pull/722/head
Nils Winkler 2016-05-19 09:03:01 +02:00
parent deab0b58a3
commit 497f1a9520
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
cite about-plugin cite about-plugin
about-plugin 'Function to kill a daemonized Rails server.' about-plugin 'Function to kill a daemonized Rails server.'
# Quick function to kill a daemonized Rails server # Quick function to kill a daemonized Rails server
@ -9,10 +9,10 @@ function killrails() {
railsPid="$(cat tmp/pids/server.pid)" railsPid="$(cat tmp/pids/server.pid)"
if [ ! -z "$railsPid" ]; then if [ ! -z "$railsPid" ]; then
echo "[OK] Rails Server Process Id : ${railsPid}" echo "[OK] Rails Server Process Id : ${railsPid}"
kill -9 $railsPid kill -9 $railsPid
echo "[OK] Process Killed" echo "[OK] Process Killed"
else else
echo "[FAIL] Error killing Rails server" echo "[FAIL] Error killing Rails server"
return 1 return 1
fi fi
} }