aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/boot-keys/boot-keys6
-rwxr-xr-xtools/boot-keys/boot-keys-helper2
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/boot-keys/boot-keys b/tools/boot-keys/boot-keys
index da56aca9..a556aa41 100755
--- a/tools/boot-keys/boot-keys
+++ b/tools/boot-keys/boot-keys
@@ -24,7 +24,7 @@ generate() {
if [ -z "$type" ]
then
- printf '%s\n' 'Unable to determine keys type' >&2
+ printf 1>&2 '%s\n' 'Unable to determine keys type'
return 1
fi
@@ -47,7 +47,7 @@ sign() {
if [ -z "$type" ]
then
- printf '%s\n' 'Unable to determine keys type' >&2
+ printf 1>&2 '%s\n' 'Unable to determine keys type'
return 1
fi
@@ -90,7 +90,7 @@ verify() {
if [ -z "$type" ]
then
- printf '%s\n' 'Unable to determine keys type' >&2
+ printf 1>&2 '%s\n' 'Unable to determine keys type'
return 1
fi
diff --git a/tools/boot-keys/boot-keys-helper b/tools/boot-keys/boot-keys-helper
index 31e2c16b..5d01916a 100755
--- a/tools/boot-keys/boot-keys-helper
+++ b/tools/boot-keys/boot-keys-helper
@@ -15,7 +15,7 @@ boot_keys_cros() {
if ! [ -x "$cros_script_path" ]
then
- printf '%s' "$cros_script script missing from cros-scripts install" >&2
+ printf 1>&2 '%s' "$cros_script script missing from cros-scripts install"
return 1
fi