Skip to content

Commit

Permalink
Fix kill command in e2e-kitchensink.sh cleanup (#2397)
Browse files Browse the repository at this point in the history
  • Loading branch information
ro-savage authored and gaearon committed May 29, 2017
1 parent 3f34238 commit e6ddfb0
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 e6ddfb0

Please sign in to comment.