btrfsctl -s exits with code 1 on a successful operation
Bug #784125 reported by
Daniel Smedegaard Buus
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
btrfs-tools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: btrfs-tools
I wrote a small script to automate snapshotting of my volumes, and discovered that even on success, btrfsctl -s will exit with 1, rather than 0. It also exits with 1 on errors.
To post a comment you must log in.
"btrfsctl" is deprecated by upstream, in preference for the more complete "btrfs" tool. Unfortunately, it's not packaged in ubuntu yet, but you can build a copy yourself fairly easily.