Skip to content

Commit 85b4e1a

Browse files
Fix shutdown_fl_run.sh (#2008)
1 parent 95bf4af commit 85b4e1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/advanced/cifar10/cifar10-real-world/shutdown_fl_run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ n_clients=8
2121

2222
echo "Attempting to shutdown server at ${workspace}/${SERVERNAME}"
2323
export CUDA_VISIBLE_DEVICES=1
24-
./workspaces/${workspace}/${SERVERNAME}/startup/stop_fl.sh &
24+
echo 'y' | ./workspaces/${workspace}/${SERVERNAME}/startup/stop_fl.sh &
2525

2626
echo "Attempting to shutdown ${n_clients} clients"
2727
for id in $(eval echo "{1..$n_clients}")
2828
do
2929
export CUDA_VISIBLE_DEVICES=1
30-
./workspaces/${workspace}/${site_pre}${id}/startup/stop_fl.sh &
30+
echo 'y' | ./workspaces/${workspace}/${site_pre}${id}/startup/stop_fl.sh &
3131
done

0 commit comments

Comments
 (0)