]> git.tue.mpg.de Git - dss.git/commit
Fix return value of remove_oldest_snapshot().
authorAndre Noll <maan@systemlinux.org>
Tue, 5 May 2009 08:53:43 +0000 (10:53 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 5 May 2009 08:53:43 +0000 (10:53 +0200)
commit97790d7fa5e13c61c95d1a48e1520ac00a983768
treed659cd61ed93e488975376bbc77b205d07ece6f9
parent723146898de138324dd6e421af05fd61c6cda848
Fix return value of remove_oldest_snapshot().

We _must_ return non-zero if the remove was initiated. The old code
would exit with

try_to_free_disk_space: uhuhu: not enough disk space for a single snapshot

even though there are plenty of snapshots available that can be deleted.
dss.c