• Christian Hesse's avatar
    dload: unlink file on filesize exceeded error · d8f395fb
    Christian Hesse authored and Allan McRae's avatar Allan McRae committed
    On filesize exceeded error pacman leaves a .part file in cache dir,
    resulting in this error on next try:
    
    error: failed to commit transaction (wrong or NULL argument passed)
    Errors occurred, no packages were upgraded.
    
    Unlink the file on error to avoid this.
    d8f395fb