Skip to content

Commit 8560880

Browse files
authored
Merge pull request #470 from midoks/dev
Update mw.tpl
2 parents 6473d68 + 4210bb8 commit 8560880

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/init.d/mw.tpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,7 @@ mw_connect_mysql(){
358358
read -p "${CHOICE_A}" INPUT
359359

360360
if [ "$INPUT" == "" ]; then
361-
echo -e "\nDefault not selected!"
362-
exit 1
361+
INPUT=1
363362
fi
364363

365364
if [ "$INPUT" -lt "0" ] || [ "$INPUT" -gt "${SOURCE_LIST_LEN}" ]; then

0 commit comments

Comments
 (0)