- 12 Oct, 2018 8 commits
-
-
Sebastian Stark authored
-
Sebastian Stark authored
- main loop will now gracefully exit when rsync is not found or returns anything except 0 or 24. - pid unlock works now in this case - probably we will need to handle other rsync return codes like 24
-
Sebastian Stark authored
-
Sebastian Stark authored
-
Sebastian Stark authored
-
Sebastian Stark authored
- otherwise, if reusing an incomplete snapshot, the rename operation would fail because old and new name are the same - this would only happen if rsync runs less than a second, so normally in some error case - the 1 second sleep makes sense because 1 second is the resolution of the snapshot names
-
Sebastian Stark authored
-
Sebastian Stark authored
-
- 11 Oct, 2018 1 commit
-
-
Sebastian Stark authored
- if it is ErrHelp, return 0 and exit - before "snaprd subcmd -h" returned a non-zero value
-
- 09 Oct, 2018 2 commits
-
-
Sebastian Stark authored
- basically move all of main() into another function and make that deal with errors - this enables defers to run properly on exit - needs a lot more fixes deeper in the code to never use os.Exit() and such
-
Sebastian Stark authored
-
- 08 Oct, 2018 2 commits
-
-
Sebastian Stark authored
-
Sebastian Stark authored
- most other situation where log.Fatal() is used should be converted to this style - overall goal is to make the deferred pid unlock work
-
- 07 Oct, 2018 4 commits
-
-
Sebastian Stark authored
-
Sebastian Stark authored
-
Sebastian Stark authored
-
Sebastian Stark authored
-
- 05 Oct, 2018 2 commits
-
-
Sebastian Stark authored
-
Sebastian Stark authored
-
- 04 Oct, 2018 4 commits
-
-
Sebastian Stark authored
-
Sebastian Stark authored
-
Sebastian Stark authored
-
Sebastian Stark authored
-
- 16 Feb, 2017 1 commit
-
-
Sebastian Stark authored
-
- 01 Jan, 2017 1 commit
-
-
Sebastian Stark authored
-
- 04 Oct, 2016 1 commit
-
-
Sebastian Stark authored
- also note how to report issues
-
- 25 Sep, 2016 3 commits
-
-
Sebastian Stark authored
- use %v for error values
-
Sebastian Stark authored
-
Sebastian Stark authored
-
- 24 Sep, 2016 2 commits
-
-
Sebastian Stark authored
-
Sebastian Stark authored
- remove duplicate code
-
- 23 Sep, 2016 5 commits
-
-
Sebastian Stark authored
-
Sebastian Stark authored
-
Sebastian Stark authored
-
Sebastian Stark authored
-
Sebastian Stark authored
-
- 16 Sep, 2016 4 commits
-
-
Sebastian Stark authored
- needs subcmdList() to take a clock argument - should detect problems like fbd75161
-
Sebastian Stark authored
This reverts commit 5596cf7e. Actually, we want the shadowing here: For each iteration we need the snapshot list to be reset, otherwise the listing will be wrong (empty) for all intervals but the first listed.
-
Sebastian Stark authored
-
Sebastian Stark authored
-