ソースを参照

Merge pull request #1473 from muscar/dek20-system-menu-remove-power-options-unveil

SystemMenu: Remove the unveil() call for /etc/PowerOptions.ini
Andreas Kling 5 年 前
コミット
6da7fd9aab
1 ファイル変更0 行追加5 行削除
  1. 0 5
      Applications/SystemMenu/main.cpp

+ 0 - 5
Applications/SystemMenu/main.cpp

@@ -90,11 +90,6 @@ int main(int argc, char** argv)
         return 1;
     }
 
-    if (unveil("/etc/PowerOptions.ini", "r")) {
-        perror("unveil");
-        return 1;
-    }
-
     unveil(nullptr, nullptr);
 
     return app.exec();