add readline_nointr to Tools
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 21 Aug 2018 13:07:24 +0000 (15:07 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 22 Aug 2018 13:32:56 +0000 (15:32 +0200)
commite03a836591446125527230ed150669943307832b
tree8c145bf92064986a0549e4afa7f47658103422ec
parent3496d4bf4d69213e9f211b64d63a54a63c9e5b16
add readline_nointr to Tools

this is a wrapper to have an uninterruptible readline
so that we can read e.g. from a pipe even if interrupted by
a signal

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PVE/Tools.pm