From 5c1a083a78acd3cd65cb1a477a442ed7b46c48a4 Mon Sep 17 00:00:00 2001
From: Per Jonsson <poj@lysator.liu.se>
Date: Sun, 25 Oct 2009 21:04:34 +0000
Subject: [PATCH] Minor fix in condition for not pruneing.

* backup-one-task: Minor fix in condition for not pruneing.
---
 ChangeLog       | 4 ++++
 backup-one-task | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index f116712..308ce50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-25  Per Jonsson  <poj@lysator.liu.se>
+
+	* backup-one-task: Minor fix in condition for not pruneing.
+
 2009-10-25  Per Jonsson  <poj@lysator.liu.se>
 
 	Minor fix in status the first time a task is backed up.
diff --git a/backup-one-task b/backup-one-task
index 2b11f6e..da2858d 100755
--- a/backup-one-task
+++ b/backup-one-task
@@ -144,7 +144,7 @@ then
 	AGE=`cat "$age"`
     fi
 
-    if [ $first_run = 1 ]
+    if [ $first_run = 0 ]
     then
 	echo -ne "${CLR}${msg}: removing increments older than $AGE"
 	$ss --status $disk $part "${msg}: removing increments older than $AGE"
-- 
GitLab