diff options
| author | maximilian attems <maks@debian.org> | 2007-08-09 20:45:31 +0200 |
|---|---|---|
| committer | maximilian attems <maks@debian.org> | 2007-08-09 20:45:31 +0200 |
| commit | b6c5123351ce61299532e10ab933d21704e8a30b (patch) | |
| tree | a440f459593d8ef57301a1f88c1052fcf22c82ae /update-initramfs | |
| parent | 9102a2d94ffd7b74ba8afc678836480f018b0d42 (diff) | |
| download | initramfs-tools-b6c5123351ce61299532e10ab933d21704e8a30b.tar.gz initramfs-tools-b6c5123351ce61299532e10ab933d21704e8a30b.zip | |
update-initramfs: enhance altered error message.
Diffstat (limited to 'update-initramfs')
| -rwxr-xr-x | update-initramfs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/update-initramfs b/update-initramfs index 3c67f89..61f809e 100755 --- a/update-initramfs +++ b/update-initramfs @@ -410,7 +410,8 @@ altered_check() mild_panic "${initramfs} does not exist. Cannot update." fi if ! compare_sha1; then - mild_panic "${initramfs} has been altered. Cannot update." + echo "update-initramfs: ${initramfs} has been altered." >&2 + mild_panic "update-initramfs: Cannot update. Override with -t option." fi } |
