Alexander Bluhm <[email protected]> writes: > On Mon, Dec 26, 2016 at 09:08:22PM +0100, Jeremie Courreges-Anglas wrote: >> Alexander Bluhm <[email protected]> writes: >> Your last diff has a drawback: you can't simply start the daemon like >> this: >> >> # syslogd >> >> realpath will resolve "syslogd" to "/path/to/current/directory/syslogd". >> >> Maybe call realpath only if argv[0] contains a slash? > > better?
Looks good to me, ok jca@ -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
