Fix exit code in chvideomode.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-12-15 22:13:25 +01:00
parent b0c01f2c6a
commit 9a608e5bb2
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ Try make sure the desired driver is loaded and is configured correctly.\n");
exit(WEXITSTATUS(status));
}
execvp(argv[1], argv + 1);
perror(argv[1]);
error(127, errno, "`%s'", argv[1]);
}
return 0;