mirror of
https://github.com/rclone/rclone.git
synced 2026-09-22 05:45:55 -04:00
When rclone archive create is run without a destination the archive should be written to stdout, but ArchiveCreate called CheckValidDestination on the nil dst and panicked with a nil pointer dereference. Skip the destination check when there is no destination. Also remove a leftover debug Printf that wrote to stdout before the archive data. Signed-off-by: Vladimir Babin <vovababin@gmail.com>