mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-12 17:48:22 +00:00
fix: [reset_AIL] #368 fix
This commit is contained in:
parent
574b64b33b
commit
de57f9b9e7
1 changed files with 0 additions and 4 deletions
|
@ -13,8 +13,6 @@ function soft_reset {
|
||||||
# Kill all screens
|
# Kill all screens
|
||||||
screen -ls | grep Detached | cut -d. -f1 | awk '{print $1}' | xargs kill
|
screen -ls | grep Detached | cut -d. -f1 | awk '{print $1}' | xargs kill
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Access dirs and delete
|
# Access dirs and delete
|
||||||
cd $AIL_HOME
|
cd $AIL_HOME
|
||||||
|
|
||||||
|
@ -102,8 +100,6 @@ function soft_reset {
|
||||||
echo -e $RED"If yes you want to delete the DB , enter the following number: "$DEFAULT $num
|
echo -e $RED"If yes you want to delete the DB , enter the following number: "$DEFAULT $num
|
||||||
read userInput
|
read userInput
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
soft_reset;
|
soft_reset;
|
||||||
|
|
||||||
if [ $userInput -eq $num ]
|
if [ $userInput -eq $num ]
|
||||||
|
|
Loading…
Reference in a new issue