]> git.proxmox.com Git - proxmox-backup.git/commit
tools/systemd/parse_time: error out on invalid ranges
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 4 Sep 2020 12:33:29 +0000 (14:33 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 4 Sep 2020 13:28:48 +0000 (15:28 +0200)
commitce7ab28cfa5d80ebe44623185713fb2e732d629e
treeb3778d8a4fe256eb7dad655afcbf1aae0c0b3856
parent07ca6f6e668e087c1ddc94f1d1a7abde196607e1
tools/systemd/parse_time: error out on invalid ranges

if the range is reverse (bigger..smaller) we will never find a value,
so error out during parsing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/tools/systemd/parse_time.rs