fix reboot in mtd.c

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@560 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2005-04-04 22:02:56 +00:00
parent e8d87c5857
commit 8650537423
1 changed files with 1 additions and 1 deletions

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;
}