Skip to content

main/reboot-mode: Fix printing of error

Luca Weiss requested to merge reboot-mode into master

Previously, running reboot-mode as an unprivileged user resulted in

Error: No error information

without a newline at the end. According to SYSCALL(2), the return value of -1 indicated an error, but the actual error code is stored in errno.

Edited by Luca Weiss

Merge request reports