init: Execute /bin/sym instead of /sys/config

We have now proven that exec() does fail and return to userspace when a file is not a valid executable.
We can now go back to executing a normal program.
This commit is contained in:
apio 2022-10-12 20:54:32 +02:00
parent b0e1b8a2b2
commit 531b2848ac

View File

@ -123,7 +123,7 @@ int main()
sleep(2); sleep(2);
if (execv("/sys/config", NULL) < 0) if (execv("/bin/sym", NULL) < 0)
{ {
perror("execv"); perror("execv");
return 1; return 1;