diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-06-10 07:03:30 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-06-10 07:03:30 +0000 |
commit | c802493e52978e3fe6b0ab0edcfce75a53660e19 (patch) | |
tree | 6efa1b2d6172c4af5139a880a8b7410df6254d2f /distrib/miniroot/install.sub | |
parent | 260e5466c76f75d6d0a19cb44c7e266a6bb46329 (diff) |
A tighter printing format for the SHA256 hashes.
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r-- | distrib/miniroot/install.sub | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 6b5a169b5a6..8d6d27189fa 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.581 2009/06/10 07:01:25 deraadt Exp $ +# $OpenBSD: install.sub,v 1.582 2009/06/10 07:03:29 deraadt Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -1054,8 +1054,8 @@ install_files() { echo "'$_f' did not install correctly." elif [ -f /tmp/h -a -f "/var/hash/$_f" ]; then if [ "$(</tmp/h)" != "$(</var/hash/$_f)" ]; then - echo "The SHA256 hash for $_f did not match what this bsd.rd expected:" - cat /tmp/h + echo "The SHA256 hash $(cat /tmp/h)" + echo "for $_f did not match what this bsd.rd expected." # XXX should mark failure somehow fi DEFAULTSETS=$(rmel $_f $DEFAULTSETS) |