From 0ffaf3c6e7037a2fd8c94b71657791219f64103e Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Sun, 28 Feb 2021 09:31:56 +0100 Subject: [PATCH] fix: some test fix --- drive.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drive.inc b/drive.inc index 9fbf728..092cdab 100644 --- a/drive.inc +++ b/drive.inc @@ -37,7 +37,7 @@ function partition_list awk -F: \ '{if (NR > 2) print $1 - }')" + }'|xargs echo)" } function find_unused @@ -46,7 +46,7 @@ function find_unused unused="$(parted -m "$drive" -- print|awk -F: \ '{if (NR > 2 && $1 >= 2 && $6 == "root unused") { print $1 - }}')|head -1" + }}'|head -1)" } function find_oldest