1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-15 11:22:43 +03:00

nocloud: hide yx errors

hide error message in case key does not exist.
This commit is contained in:
Natanael Copa 2023-06-12 16:32:35 +02:00
parent d30d2555df
commit e7ea0e9e1b

View File

@ -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
}