Fixed indentation
It was using a mixture of tabs and spaces. Converted to 2 spaces.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
cite about-plugin
|
||||
cite about-plugin
|
||||
about-plugin '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)"
|
||||
if [ ! -z "$railsPid" ]; then
|
||||
echo "[OK] Rails Server Process Id : ${railsPid}"
|
||||
kill -9 $railsPid
|
||||
echo "[OK] Process Killed"
|
||||
kill -9 $railsPid
|
||||
echo "[OK] Process Killed"
|
||||
else
|
||||
echo "[FAIL] Error killing Rails server"
|
||||
return 1
|
||||
echo "[FAIL] Error killing Rails server"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user