• Unexpected behaviour with delfiles.js

    From Underminer@1:229/2 to All on Saturday, April 24, 2021 00:20:55
    From: underminer@UNDRMINE.remove-3jv-this

    To: DOVE-Net.Synchronet_Discussion
    Running delfiles to remove offline files from base produces an error at the first offline file, then script exits . Have tried adding and removing files from the directory, and error consistently occuring with the first file in the filelist that is
    offline, whatever that file may be. Appears perhaps the script is trying to actually delete the offline file? Appears to be able to properly carry out age and file quantity pruning fine, but the offline option does not work.


    Exampe on running "./jsexec delfiles -offline":

    Removing offline file: /files/fidonet/nodelist/NODELIST.Z60
    !JavaScript /sbbs/repo/exec/delfiles.js line 69: Error: 2 removing '/files/fidonet/nodelist/NODELIST.Z60'
    /sbbs/repo/exec/delfiles.js executed in 0.07 seconds
    !Module (delfiles) set exit_code: 1

    ---
    þ Synchronet þ My Brand-New BBS
    --- Synchronet 3.19a-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)