summaryrefslogtreecommitdiff
path: root/command/marks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'command/marks.cpp')
-rw-r--r--command/marks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/command/marks.cpp b/command/marks.cpp
index 6935175..67358fc 100644
--- a/command/marks.cpp
+++ b/command/marks.cpp
@@ -392,7 +392,7 @@ bool clMarks::Save(const char *Directory, double FrameRate, bool isTS)
struct stat statbuf;
if (!stat(spath,&statbuf))
{
- chown(fpath,statbuf.st_uid, statbuf.st_gid);
+ if (chown(fpath,statbuf.st_uid, statbuf.st_gid)) {};
}
free(spath);
}