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:
parent
d30d2555df
commit
e7ea0e9e1b
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user