]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/generator.c
fsck: Search for fsck.type in PATH
authorMike Gilbert <floppym@gentoo.org>
Sat, 12 Apr 2014 20:07:45 +0000 (16:07 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 12 Apr 2014 21:23:13 +0000 (17:23 -0400)
commiteb66db55fc4b342e4253065886e0cc0419c45a07
treeba9a5862de90e86b3ebeb662a7746cc740618eeb
parentb189101727e80a09864c5e5880663ef565467f19
fsck: Search for fsck.type in PATH

Modifies find_binary() to accept NULL in the second argument.

fsck.type lookup logic moved to new fsck_exists() function, with a test.
src/fsck/fsck.c
src/shared/generator.c
src/shared/path-util.c
src/shared/path-util.h
src/test/test-path-util.c