fix legacy system call to create hypr dir

This commit is contained in:
vaxerski 2023-02-01 19:51:17 +00:00
parent 445f8c71c5
commit 1a41f729a3

View file

@ -38,8 +38,6 @@ int main(int argc, char** argv) {
} }
} }
system("mkdir -p /tmp/hypr");
if (!ignoreSudo) { if (!ignoreSudo) {
if (Init::isSudo()) { if (Init::isSudo()) {
std::cout << "Hyprland shall not be run as the root user. If you really want to, use the --i-am-really-stupid flag.\n"; std::cout << "Hyprland shall not be run as the root user. If you really want to, use the --i-am-really-stupid flag.\n";