Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 9f56c0b6 authored by Rob Swindell's avatar Rob Swindell 💬

Don't try to delete offline files when removing from filebase.

Reported by DaiTengu via eye are sea.
parent 6d153a1f
......@@ -66,7 +66,7 @@ for(var i in dir_list) {
if(options.test)
removed++;
else {
if(!base.remove(file, /* delete: */true))
if(!base.remove(file, /* delete: */false))
alert(base.error);
else
removed++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment