mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/ngdump: Bail out if ngdump meta could not be saved
Bail out if the ngdump meta file could not be updated. Save the boot log also for normal exit. Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com> Acked-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
48743aa28b
commit
54b3c9ef24
@@ -104,5 +104,7 @@ logsave "$MNTDIR/makedumpfile.log" makedumpfile -f -E --message-level 7 -d 31 "$
|
||||
# Create a file containing meta information for zgetdump
|
||||
#
|
||||
save_meta
|
||||
[ $? -eq 0 ] || { bail_out "Could not update $META"; }
|
||||
save_logs
|
||||
|
||||
quit
|
||||
|
||||
Reference in New Issue
Block a user