Certbot Utility improvements
This commit is contained in:
parent
2a8f2f75d3
commit
53d14376c3
1 changed files with 3 additions and 3 deletions
|
@ -127,13 +127,13 @@ int main(int argc, char **argv){
|
||||||
Util::wait(1000);
|
Util::wait(1000);
|
||||||
}
|
}
|
||||||
if (!counter){
|
if (!counter){
|
||||||
FAIL_MSG("Timed out!");
|
FAIL_MSG("Timed out! Is " APPNAME " running, and is certbot being ran under the same system user " APPNAME " is running under?");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
INFO_MSG("Success!");
|
INFO_MSG("Success!");
|
||||||
Util::wait(5000);
|
Util::wait(5000);
|
||||||
}else{
|
}else{
|
||||||
if (currConf["certbot"].asStringRef() == cbCombo){
|
if (currConf.isMember("certbot") && currConf["certbot"].asStringRef() == cbCombo){
|
||||||
INFO_MSG("Config already good - no changes needed");
|
INFO_MSG("Config already good - no changes needed");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -152,7 +152,7 @@ int main(int argc, char **argv){
|
||||||
Util::wait(1000);
|
Util::wait(1000);
|
||||||
}
|
}
|
||||||
if (!counter){
|
if (!counter){
|
||||||
FAIL_MSG("Timed out!");
|
FAIL_MSG("Timed out! Is " APPNAME " running, and is certbot being ran under the same system user " APPNAME " is running under?");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
INFO_MSG("Success!");
|
INFO_MSG("Success!");
|
||||||
|
|
Loading…
Add table
Reference in a new issue