/* * Copyright (c) 2018-2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #include #include int main(int, char**) { if (reboot() < 0) { perror("reboot"); return 1; } return 0; }