From cf4d3305c0f7d3b1ac79f21c4610a3d852b415df Mon Sep 17 00:00:00 2001 From: Jad Haj Yahya Date: Wed, 28 Aug 2024 21:09:13 +0300 Subject: [PATCH] fix nmin incorrect argument (#80) --- images/fcos-bastion-image/root/usr/bin/clean-up.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/fcos-bastion-image/root/usr/bin/clean-up.sh b/images/fcos-bastion-image/root/usr/bin/clean-up.sh index 9dbc880..1325737 100755 --- a/images/fcos-bastion-image/root/usr/bin/clean-up.sh +++ b/images/fcos-bastion-image/root/usr/bin/clean-up.sh @@ -35,7 +35,7 @@ do fi echo "<3>$cluster is more than 3 days old and not preserved, starting the pruning...." prune_nodes "$cluster" -done < <(find /var/builds/ -maxdepth 1 -type d -mmin 1440+ -print0) +done < <(find /var/builds/ -maxdepth 1 -type d -mmin +1440 -print0) # Clean up left over ports in the ovs switches that can span across multiple clusters for port in $(ovs-vsctl show | grep "No such device" | sed -e 's/^.*device //' -e 's/ (No such.*$//')