mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-25 10:30:26 +00:00
commit
2a0e4fb22a
@ -132,7 +132,8 @@ int main(int argc, char **argv)
|
|||||||
run_as_user = strdup(optarg);
|
run_as_user = strdup(optarg);
|
||||||
break;
|
break;
|
||||||
case 'm':
|
case 'm':
|
||||||
mpd.password = strdup(optarg);
|
if (strlen(optarg) > 0)
|
||||||
|
mpd.password = strdup(optarg);
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
fprintf(stdout, "ympd %d.%d.%d\n"
|
fprintf(stdout, "ympd %d.%d.%d\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user