Displaying 1 result from an estimated 1 matches for "5c42ad7351".
2020 Sep 22
2
[PATCH] debian/scripts: Optimize scripts
...ls-$VERSION was already removed before rebooting out of Xen $VERSION), bailing out!"
+fi
+
+error 127 "Failed to execute $COMMAND: return $fail"
-exec "$DIR/bin/$COMMAND" "$@"
diff --git a/debian/scripts/xen-version b/debian/scripts/xen-version
index 492070a43b..5c42ad7351 100755
--- a/debian/scripts/xen-version
+++ b/debian/scripts/xen-version
@@ -6,10 +6,12 @@ error() {
}
if [ -e "/sys/hypervisor/type" ]; then
- type="$(cat /sys/hypervisor/type)"
+ read type < /sys/hypervisor/type
if [ "$type" = xen ]; then
D...