summaryrefslogtreecommitdiff
path: root/init/interface_utils.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-09-04 15:26:52 -0700
committerTom Cherry <tomcherry@google.com>2019-09-04 16:23:15 -0700
commit7896e7adccbd272533ee2250f4a9c65cd4ca66d0 (patch)
tree83a7b6e1c74b5e49d4a34a5ee7661b07dc80eff6 /init/interface_utils.cpp
parenta9ffef27e137458f8b12b10df2eeca58b99074ed (diff)
init: add exec_reboot_on_failure builtin
Add exec_reboot_on_failure builtin and refactor the VDC commands that had similar functionality. These will now also reboot in the case that the program cannot be found or run for any reason. Test: boots normally, reboots if command is not found or if command returns status '1' Change-Id: I1c99498c2b741512a50188e1a325c25e9ec8fba0
Diffstat (limited to 'init/interface_utils.cpp')
0 files changed, 0 insertions, 0 deletions