From e7ea0e9e1b15111b1da2664a42839e375a9e0325 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 12 Jun 2023 16:32:35 +0200 Subject: [PATCH] nocloud: hide yx errors hide error message in case key does not exist. --- lib/tiny-cloud/cloud/nocloud/imds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tiny-cloud/cloud/nocloud/imds b/lib/tiny-cloud/cloud/nocloud/imds index f689055..30b115c 100644 --- a/lib/tiny-cloud/cloud/nocloud/imds +++ b/lib/tiny-cloud/cloud/nocloud/imds @@ -101,6 +101,6 @@ _imds() { if [ $(basename "$file") = "$keypath" ]; then cat "$file" else - yx -f "$file" $keypath + yx -f "$file" $keypath 2>/dev/null fi }