Please sign in to comment.
cmd/import-rsnapshot: eliminate use of readlink and stat commands.
These aren't portable across operating systems. While we're here, catch some error cases that were revealed by these commands failing. Also reduce indentation by using 'continue' in places where the entire loop iteration depends on a single conditional. Signed-off-by: Avery Pennarun <email@example.com>
- Loading branch information...
Showing with 30 additions and 37 deletions.