fixed bug when retroshare-service -U list is ran with no account

This commit is contained in:
csoler 2021-02-20 09:32:57 +01:00
parent d1baa3821a
commit 481a207ccb
2 changed files with 15 additions and 9 deletions

View file

@ -155,10 +155,11 @@ class RsInit
public:
enum RS_DEPRECATED_FOR(RsInitErrorNum) LoadCertificateStatus : uint8_t
{
OK, /// Everything go as expected, no error occurred
ERR_ALREADY_RUNNING, /// Another istance is running already
ERR_CANT_ACQUIRE_LOCK, /// Another istance is already running?
ERR_UNKNOWN /// Unkown error, maybe password is wrong?
OK, /// Everything go as expected, no error occurred
ERR_ALREADY_RUNNING, /// Another istance is running already
ERR_CANT_ACQUIRE_LOCK, /// Another istance is already running?
ERR_NO_AVAILABLE_ACCOUNT, /// Used in retroshare-service -U list when no account is available
ERR_UNKNOWN /// Unkown error, maybe password is wrong?
};
/* reorganised RsInit system */