From 146b189d54e51609634d9dc4b1ab47f9e3c91d49 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 19 May 2022 19:28:15 +0200 Subject: disallow running with sudo unless you use the --i-am-really-stupid flag --- src/init/initHelpers.hpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/init/initHelpers.hpp (limited to 'src/init/initHelpers.hpp') diff --git a/src/init/initHelpers.hpp b/src/init/initHelpers.hpp new file mode 100644 index 00000000..3b9f7915 --- /dev/null +++ b/src/init/initHelpers.hpp @@ -0,0 +1,7 @@ +#pragma once + +#include "../defines.hpp" + +namespace Init { + bool isSudo(); +}; \ No newline at end of file -- cgit v1.2.3