mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
fix reboot in mtd.c
SVN-Revision: 560
This commit is contained in:
parent
563fe2b050
commit
93897af0b7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue