Clean up opt tools, ftrustee and nwbind warning cases

This commit is contained in:
Mario Fetka
2026-04-20 23:39:42 +02:00
parent 77587a0789
commit 143096999f
4 changed files with 10 additions and 10 deletions

View File

@@ -206,7 +206,7 @@ int do_export_trustees(char *expfn)
j, v->sysname, v->unixname, fn);
if (NULL != (f=fopen(fn, "w")) ) {
chmod(fn, 0600);
chown(fn, 0, 0);
if (chown(fn, 0, 0)) {}
fclose(f);