From 83a6d09e3dbbbc85ed4069448b467aa665e2ee39 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Sun, 26 Oct 2014 01:20:35 +0200 Subject: [PATCH] Flush output after each line in runCommand() --- debian/changelog | 1 + lib/Xen/Tools/Common.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/changelog b/debian/changelog index 8c5f12b..9b4ef50 100644 --- a/debian/changelog +++ b/debian/changelog @@ -26,6 +26,7 @@ xen-tools (4.4+dev-1) UNRELEASED; urgency=low Santiago Vila. + Add password length sanity check with fallback to default length. + Raise default password length from 8 to 23. + + Flush output after each line in runCommand(). [ Santiago Vila ] + Fix unaligned maxmem output of xen-create-image. (Closes: #764126) diff --git a/lib/Xen/Tools/Common.pm b/lib/Xen/Tools/Common.pm index 04599d5..ccbaffa 100644 --- a/lib/Xen/Tools/Common.pm +++ b/lib/Xen/Tools/Common.pm @@ -195,6 +195,7 @@ sub findXenToolstack sub runCommand ($$;$) { + local $| = 1; my ($cmd, $CONFIG, $fail_ok) = (@_); #