diff options
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 1de88f942..ca6213943 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5378,9 +5378,9 @@ static int unixDelete( if( errno==ENOENT ){ rc = SQLITE_IOERR_DELETE_NOENT; }else{ - rc = SQLITE_IOERR_DELETE; + rc = unixLogError(SQLITE_IOERR_DELETE, "unlink", zPath); } - return unixLogError(rc, "unlink", zPath); + return rc; } #ifndef SQLITE_DISABLE_DIRSYNC if( (dirSync & 1)!=0 ){ |