X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/d212b02f931c43a5b0bb40115d842d9c6dcb633c..6c4239e5a483511e5ca2f2c8be2c27b51cf50f93:/setnsfpn.cpp diff --git a/setnsfpn.cpp b/setnsfpn.cpp index 9fe555c0..b129858a 100644 --- a/setnsfpn.cpp +++ b/setnsfpn.cpp @@ -123,10 +123,12 @@ static int setnsfpn(const char *path, size_t before, Recurse recurse) { return -1; case DT_DIR: - setnsfpn(sub, both, RecurseYes); + if (setnsfpn(sub, both, RecurseYes) != 0) + return -1; break; case DT_REG: - setnsfpn(sub, both, RecurseNo); + if (setnsfpn(sub, both, RecurseNo) != 0) + return -1; break; } }