Author: waldi Date: Sat Sep 2 16:28:31 2006 New Revision: 290 Modified: trunk/xen-common/scripts/xen-utils-wrapper Log: scripts/xen-utils-wrapper: Don''t try to exec anything if root is empty. Modified: trunk/xen-common/scripts/xen-utils-wrapper =============================================================================--- trunk/xen-common/scripts/xen-utils-wrapper (original) +++ trunk/xen-common/scripts/xen-utils-wrapper Sat Sep 2 16:28:31 2006 @@ -2,4 +2,4 @@ command="$(basename $0)" root=$(/usr/lib/xen-common/bin/xen-utils-root -v "$XEN_VERSION") -exec "$root/bin/$command" "$@" +[ "$root" ] && exec "$root/bin/$command" "$@"