Skip to content

Commit 286050a

Browse files
committed
Remove exit to stop script better
1 parent a81f51f commit 286050a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

demo-october-2022/example_2x2_cardio_fmi/example_user/run_fractal_demo.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ echo
99
USERNAME=''
1010
if [ "$USERNAME" = "" ];
1111
then
12-
echo "Please define a username on line 8"
13-
exit 1
14-
fi
12+
echo "Please define a username on line 9"
13+
else
1514

1615
# Set useful variables
1716
PRJ_NAME=$USERNAME"_myproj"
@@ -86,3 +85,4 @@ fractal task add-subtask $WF_ID "Measurement" --args-file ${TMPDIR}/args_measure
8685
# Apply workflow
8786
fractal task apply $PRJ_ID $DS_IN_ID $DS_OUT_ID $WF_ID
8887

88+
fi

0 commit comments

Comments
 (0)