mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-12 00:26:41 +02:00
Tidy up code
This commit is contained in:
parent
f5d4fcaf43
commit
7597f15d24
22 changed files with 74 additions and 85 deletions
|
@ -242,7 +242,7 @@ int main(int argc, char* argv[])
|
|||
if (daemonOption->is_set())
|
||||
{
|
||||
if (settings.server.user.empty())
|
||||
std::invalid_argument("user must not be empty");
|
||||
throw std::invalid_argument("user must not be empty");
|
||||
|
||||
if (settings.server.data_dir.empty())
|
||||
settings.server.data_dir = "/var/lib/snapserver";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue