-d <datadir> parameter takes space after option argument. #765

Closed
opened 2026-10-05 04:43:23 +02:00 by adam · 2 comments
Owner

Please, remove the space that the ZNC takes from the command line when invoking the program by this way:

./znc -d ./

It's going to search by path " ./configs/znc.conf" for example instead of "./configs/znc.conf".

Thanks!

Please, remove the space that the ZNC takes from the command line when invoking the program by this way: ./znc -d ./ It's going to search by path " ./configs/znc.conf" for example instead of "./configs/znc.conf". Thanks! <!-- github-sync-id:223412083 -->
adam closed this issue 2026-10-05 04:43:23 +02:00
Author
Owner

Show config.log
What shell is that? What OS?
Did you try --datadir?

Show config.log What shell is that? What OS? Did you try --datadir? <!-- github-comment-id:296272054 -->
Author
Owner

Oh sorry, it was my fault using the execve() system call on a program I used to change uid and gid in a chroot for chrooting znc.

Here is the error:
char *args[] = { "./znc", "-d .", NULL };

should be:
char *args[] = { "./znc", "-d", ".", NULL };

Thanks for the interest and the help!

Oh sorry, it was my fault using the execve() system call on a program I used to change uid and gid in a chroot for chrooting znc. Here is the error: char *args[] = { "./znc", "-d .", NULL }; should be: char *args[] = { "./znc", "-d", ".", NULL }; Thanks for the interest and the help! <!-- github-comment-id:309311106 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#765