commit | 1bc4e8a20644b65943dd73b6927e06742c72e5c7 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu Aug 25 01:35:13 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Aug 25 01:35:13 2011 +0400 |
tree | ff1ee36ebc64002e7c43bb98c540a9c5e7237ebd | |
parent | ba6d94480a4e22206168b866c44174269bf860d9 [diff] |
bin/vzubc: fix for Debian/mawk Debian systems use mawk not gawk by default. Apparently, mawk lacks strtonum() function. We could just truncate the last character (which is ':'), but let's be lazy and use int() function which appears to be portable. Reported-by: Mario Kleinsasser <mario.kleinsasser@gmail.com> Signed-off-by: Kir Kolyshkin <kir@openvz.org>