Skip to content

Commit

Permalink
Fix kill command in e2e-kitchensink.sh cleanup (facebook#2397)
Browse files Browse the repository at this point in the history
  • Loading branch information
ro-savage authored and romaindso committed Jul 10, 2017
1 parent 8bb7441 commit caca453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/e2e-kitchensink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ temp_module_path=`mktemp -d 2>/dev/null || mktemp -d -t 'temp_module_path'`

function cleanup {
echo 'Cleaning up.'
ps -ef | grep 'react-scripts' | grep -v grep | awk '{print $2}' | xargs kill -s 9
ps -ef | grep 'react-scripts' | grep -v grep | awk '{print $2}' | xargs kill -9
cd "$root_path"
# TODO: fix "Device or resource busy" and remove ``|| $CI`
rm -rf "$temp_cli_path" "$temp_app_path" "$temp_module_path" || $CI
Expand Down

0 comments on commit caca453

Please sign in to comment.