pmaports/luna/librolegen/compile.patch
Alex Roth 196d555092 Merge Luna work into master (#945)
Contains everything from #940, except on top of master now.
Also added a postmarketos-ui-luna package to be a meta-
package for all of the Luna work.

Every component included here builds & runs, but isn't
functional without a handful more packages.
2017-11-29 23:29:26 +00:00

13 lines
357 B
Diff

diff --git a/src/rolegen.cpp.in b/src/rolegen.cpp.in
index 3c2740f..eb68959 100755
--- a/src/rolegen.cpp.in
+++ b/src/rolegen.cpp.in
@@ -51,7 +51,7 @@ static bool isPrivilegedAppId(const char *appId)
static bool fexists(string filename)
{
ifstream ifile(filename.c_str());
- return ifile;
+ return ifile.good();
}
static void checkDirStructure()