Fix glitches in previous commit: strip the \n and only complain on failure
authorguenther <guenther@openbsd.org>
Sun, 26 Apr 2015 01:23:19 +0000 (01:23 +0000)
committerguenther <guenther@openbsd.org>
Sun, 26 Apr 2015 01:23:19 +0000 (01:23 +0000)
commitccc73f79b0869afbb2bbe200544b35188f5f29c9
tree90fd10cd0ad9ca9353e27d81bba6151efc753b56
parent17248ae1c3996b0d6bb414908c175b857a5103a8
Fix glitches in previous commit: strip the \n and only complain on failure

ok deraadt@
sbin/savecore/savecore.c