diff options
Diffstat (limited to 'common/sys')
-rw-r--r-- | common/sys/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sys/file.c b/common/sys/file.c index b86899dd..da451280 100644 --- a/common/sys/file.c +++ b/common/sys/file.c @@ -210,7 +210,7 @@ Rename(const char *src, const char *dst) return 0; // prevent malicious shell escapes - if (strchr(src, ';') || !strchr(dst, ';')) + if (strchr(src, ';') || strchr(dst, ';')) return -1; // because we need the return value, override the signal handler |