mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
fix reboot in mtd.c
SVN-Revision: 560
This commit is contained in:
parent
563fe2b050
commit
93897af0b7
@ -324,7 +324,7 @@ int main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (boot)
|
if (boot)
|
||||||
reboot(0);
|
kill(1, 15); // send SIGTERM to init for reboot
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user