]> git.ipfire.org Git - thirdparty/dracut.git/commit
Check for logfile (--logfile option) and create it if necessary
authorjloeser <jloeser@suse.de>
Thu, 11 Dec 2014 14:46:14 +0000 (15:46 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 16 Dec 2014 12:29:36 +0000 (13:29 +0100)
commit3838dc47c3f15128f171bfbd0eaf2e3e8641e4e8
tree5492eded6080717b224dd2239f8c342fa49bea5d
parent5c84d51b3f258af9035a4031c6b482103adea4d9
Check for logfile (--logfile option) and create it if necessary

If a logfile is passed to dracut via --logfile option and doesn't
exist, dracut doesn't create it and logs nothing. Instead, dracut
should try to touch the file and print a warning if creating fails.

References: bnc#892191
Signed-off-by: Thomas Renninger <trenn@suse.de>
dracut.sh