From b7cbebe38a63cf204af817b54e7cb0ddab7755a6 Mon Sep 17 00:00:00 2001 From: Tails developers Date: Sun, 10 Nov 2013 09:26:54 +0000 Subject: [PATCH] Fix syntax for displaying usage string in two scripts (Tails#6414). Thanks to Kill Your TV for the initial patch. --- config/chroot_local-includes/usr/local/bin/tails-boot-to-kexec | 2 +- config/chroot_local-includes/usr/local/bin/tails-get-bootinfo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/chroot_local-includes/usr/local/bin/tails-boot-to-kexec b/config/chroot_local-includes/usr/local/bin/tails-boot-to-kexec index 4694b5c6ae..ca20063147 100755 --- a/config/chroot_local-includes/usr/local/bin/tails-boot-to-kexec +++ b/config/chroot_local-includes/usr/local/bin/tails-boot-to-kexec @@ -22,7 +22,7 @@ case "$1" in fi ;; *) - usage "$0 kernel|initrd" + echo "Usage: $0 kernel|initrd" >&2 exit 3 esac diff --git a/config/chroot_local-includes/usr/local/bin/tails-get-bootinfo b/config/chroot_local-includes/usr/local/bin/tails-get-bootinfo index 1a4edaab02..f96bafa539 100755 --- a/config/chroot_local-includes/usr/local/bin/tails-get-bootinfo +++ b/config/chroot_local-includes/usr/local/bin/tails-get-bootinfo @@ -24,7 +24,7 @@ case "$1" in echo "${LIVE_IMAGE_MOUNTPOINT}${initrd}" ;; *) - usage "$0 kernel|initrd" + echo "Usage: $0 kernel|initrd" >&2 exit 3 esac -- GitLab