From fb77e731737f3ca96f1295f9ee1f9f58278da84e Mon Sep 17 00:00:00 2001
From: Elijah Saxon <elijah@riseup.net>
Date: Fri, 8 Apr 2005 17:02:52 +0000
Subject: [PATCH] fixed bug where config files were run in order of time
 created instead of in numeric order.

---
 backupninja | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backupninja b/backupninja
index b7d4a149..ac504d60 100755
--- a/backupninja
+++ b/backupninja
@@ -429,7 +429,7 @@ errormsg=""
 if [ "$singlerun" ]; then
 	files=$singlerun
 else
-	files=`find $configdirectory -mindepth 1 `
+	files=`find $configdirectory -mindepth 1 | sort -n`
 fi
 
 for file in $files; do
-- 
GitLab