Просмотр исходного кода

Обновить 'src/avto4certbot.sh'

Берсенев Валерий дней назад: 3
Родитель
Сommit
381e76d804
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      src/avto4certbot.sh

+ 4 - 4
src/avto4certbot.sh

@@ -395,7 +395,7 @@ if [ "$opt" != "" ]; then
395
         reports=()
395
         reports=()
396
         reports[${#reports[@]}]="Sorry, there are not found proxy: $http_proxy"
396
         reports[${#reports[@]}]="Sorry, there are not found proxy: $http_proxy"
397
         makeErr
397
         makeErr
398
-        exit
398
+        exit 0
399
       fi
399
       fi
400
     else
400
     else
401
       systemctl stop $web_service;
401
       systemctl stop $web_service;
@@ -439,7 +439,7 @@ if [ "$opt" != "" ]; then
439
       reports=()
439
       reports=()
440
       reports[${#reports[@]}]="Sorry, there are not found proxy: $http_proxy"
440
       reports[${#reports[@]}]="Sorry, there are not found proxy: $http_proxy"
441
       makeErr
441
       makeErr
442
-      exit
442
+      exit 0
443
     fi
443
     fi
444
   else
444
   else
445
     systemctl stop $web_service;
445
     systemctl stop $web_service;
@@ -474,7 +474,7 @@ if [ "$opt" != "" ]; then
474
         reports=()
474
         reports=()
475
         reports[${#reports[@]}]="Sorry, there are not found proxy: $http_proxy"
475
         reports[${#reports[@]}]="Sorry, there are not found proxy: $http_proxy"
476
         makeErr
476
         makeErr
477
-        exit
477
+        exit 0
478
     fi
478
     fi
479
   else
479
   else
480
       flistCerts;
480
       flistCerts;
@@ -492,4 +492,4 @@ fi
492
     ;;
492
     ;;
493
   esac
493
   esac
494
 
494
 
495
-exit
495
+exit 0