proxmox-backup/src/tools
Dominik Csapak d5cf8f606c tools/systemd/time: fix selection for multiple options
if we give multiple options/ranges for a value, e.g.
2,4,8
we always choose the biggest, instead of the smallest that is next

this happens because in DateTimeValue::find_next(value)
'next' can be set multiple times and we set it when the new
value was *bigger* than the last found 'next' value, when in reality
we have to choose the *smallest* next we can find

reverse the comparison operator to fix this

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-09-04 15:33:42 +02:00
..
disks various typo fixes 2020-08-25 18:52:31 +02:00
systemd tools/systemd/time: fix selection for multiple options 2020-09-04 15:33:42 +02:00
acl.rs pxar, acl: cleanup acl helper usage 2020-06-12 10:52:18 +02:00
async_io.rs update a chunk of stuff to the hyper release 2019-12-13 11:24:41 +01:00
borrow.rs tools: borrow: implement Deref for Tied 2019-02-13 11:03:09 +01:00
broadcast_future.rs typo fixes all over the place 2020-05-30 16:39:08 +02:00
cert.rs refactor CertInfo to tools 2020-07-10 11:08:53 +02:00
daemon.rs src/tools/daemon.rs: reopen STDOUT/STDERR journald streams to get correct PID in logs 2020-06-22 13:06:53 +02:00
disks.rs various typo fixes 2020-08-25 18:52:31 +02:00
file_logger.rs typo fixes all over the place 2020-05-30 16:39:08 +02:00
format.rs tools/format: implement from u64 for HumanByte helper type 2020-08-25 14:18:49 +02:00
fs.rs src/tools/fs.rs: new helper lock_dir_noblock 2020-08-11 10:57:48 +02:00
lru_cache.rs lru_cache: restrict and annotate Send impl 2020-06-19 09:37:34 +02:00
nom.rs fix typo 2020-06-26 09:12:29 +02:00
process_locker.rs typo fixes all over the place 2020-05-30 16:39:08 +02:00
runtime.rs src/tools/runtime.rs: implement get_runtime_with_builder 2020-07-07 10:11:04 +02:00
statistics.rs statistics: covariance(): avoid allocation 2020-06-09 13:57:27 +02:00
std_channel_writer.rs switch from failure to anyhow 2020-04-17 18:43:30 +02:00
systemd.rs api2/node/../disks/directory: added DELETE endpoint for removal of mount-units 2020-08-14 07:06:10 +02:00
ticket.rs remove unused import 2020-08-13 09:05:15 +02:00
wrapped_reader_stream.rs add AsyncReaderStream 2020-06-23 06:33:31 +02:00
xattr.rs tools/xattr: a char from C is not universally a rust i8 2020-07-19 19:46:27 +02:00