Stefan Schuermans commited on 2020-09-19 10:11:44
Showing 1 changed files, with 2 additions and 1 deletions.
| ... | ... |
@@ -122,6 +122,7 @@ void Tree::setPermissionsOne(boost::filesystem::path const &path) const {
|
| 122 | 122 |
} |
| 123 | 123 |
|
| 124 | 124 |
// change owner/group |
| 125 |
- lchown(path.string().c_str(), user.getUid(), group.getGid()); |
|
| 125 |
+ int ret = lchown(path.string().c_str(), user.getUid(), group.getGid()); |
|
| 126 | 126 |
// ignore error for now, as this runs in a daemon in background |
| 127 |
+ (void)ret; |
|
| 127 | 128 |
} |
| 128 | 129 |