[CRIU] [PATCH 1/7] crit: print new line if orig_type == bin and using stdout
Ruslan Kuprieiev
kupruser at gmail.com
Wed Jan 14 06:32:35 PST 2015
Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
crit | 2 ++
1 file changed, 2 insertions(+)
diff --git a/crit b/crit
index bd16db0..b87a62d 100755
--- a/crit
+++ b/crit
@@ -60,6 +60,8 @@ def convert_img(opts):
with open(opts['out'], 'w+') as f:
f.write(out_str)
else:
+ if orig_type == 'bin':
+ out_str += "\n"
sys.stdout.write(out_str)
def main():
--
2.1.0
More information about the CRIU
mailing list