diff options
author | Michael Heimpold <mhei@heimpold.de> | 2018-11-24 10:22:53 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-11-26 09:45:47 +0100 |
commit | 091aa3d72dcbbfdb4795bb17e260e35a635b0bf5 (patch) | |
tree | c42797109064a3d0f227529c1ac6701d2f4881fc /blockd.c | |
parent | 29e53af0b91954ca6a13bdd1f0e67c939ccb8e6d (diff) | |
download | fstools-091aa3d72dcbbfdb4795bb17e260e35a635b0bf5.tar.gz |
fstools: guard usage of WEXITSTATUS
According to man page, using WEXITSTATUS should be guarded by a check
of WIFEXITED, so add this check.
While at, also print an error message in case fsck was terminated
by a signal.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'blockd.c')
0 files changed, 0 insertions, 0 deletions