Browse Source

refactor: clean up code

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1138 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
50347c1ac5
  1. 5
      devel/run

5
devel/run

@ -120,7 +120,7 @@ hiecho "Loading config devel/run.cfg"
PHPSDIR=${PHPSDIR:-$HOME/test}
if [[ $# -eq 0 ]]; then
set -- "$action" "${args[@]}"
set -- $action "${args[@]}"
fi
# devel actions
@ -331,7 +331,7 @@ run() {
case "${cmd[0]}" in
*php-fpm*)
stopfpm
hiecho Starting fpm ...
hiecho Starting fpm "${commandLine[@]}" ...
"${commandLine[@]}"
echo -n "Ctrl-C to stop"
trap cleanfpm SIGINT SIGTERM exit
@ -339,6 +339,7 @@ run() {
stopfpm
;;
*)
hiecho "${commandLine[@]}"
"${commandLine[@]}"
;;
esac

Loading…
Cancel
Save