fix reboot in mtd.c

SVN-Revision: 560
This commit is contained in:
Felix Fietkau 2005-04-04 22:02:56 +00:00
parent 563fe2b050
commit 93897af0b7

View file

@ -324,7 +324,7 @@ int main (int argc, char **argv)
}
if (boot)
reboot(0);
kill(1, 15); // send SIGTERM to init for reboot
return 0;
}