El 14/01/15 a las 10:39, Colin Guthrie escribió:
Cristian Rodríguez wrote on 14/01/15 13:34:
El 14/01/15 a las 09:21, Colin Guthrie escribió:
If I read the dirent_ensure_type and dirent_is_file code properly, this
would mean that symlinks to valid sysvinit scripts are now skipped.

dirent_is_file() returns true for symlinks.

Jeez, I really failed at reading the code today.... sorry for the noise!

(that said, as a general question what happens in dirent_is_file() if
there is a symlink to a directory?)

Col


The other way around in this case is to ignore EISDIR like ENOENT is ignored in load_sysv()
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to