diff --git a/tools/virt-login-shell.c b/tools/virt-login-shell.c index 01969506c2..758d1af17f 100644 --- a/tools/virt-login-shell.c +++ b/tools/virt-login-shell.c @@ -212,6 +212,8 @@ main(int argc, char **argv) return EXIT_FAILURE; } + setenv("PATH", "/bin:/usr/bin", 1); + virSetErrorFunc(NULL, NULL); virSetErrorLogPriorityFunc(NULL);