]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/exec-util: null_or_empty_path() does not return boolean 27040/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 28 Mar 2023 16:50:31 +0000 (18:50 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 28 Mar 2023 16:50:31 +0000 (18:50 +0200)
commit7d0c47dad0d4282c3924a654a8fe18fc5d7766f8
tree11409ae4291577683e5cdd9ace645ef09b6cc896
parent3e2d73532812ab4f3b5cce11cf5dcc5a57af9163
shared/exec-util: null_or_empty_path() does not return boolean

We shouldn't report that the file is empty if the stating fails. Let's do the
same as in other places, and just ignore the error and let the subsequent
operation fail.
src/shared/exec-util.c