From 7b6d99f3ac32332fc2e44f7d306e595d7a01c6c5 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 9 Dec 2014 21:47:56 +0100 Subject: [PATCH] Fix regex in bacula-backup-dirs --- modules/bacula/files/bacula-backup-dirs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bacula/files/bacula-backup-dirs b/modules/bacula/files/bacula-backup-dirs index bff45a5f0..f63ddef70 100644 --- a/modules/bacula/files/bacula-backup-dirs +++ b/modules/bacula/files/bacula-backup-dirs @@ -2,7 +2,7 @@ import re -MI_RE = re.compile(r'(?P\d+) (?P\d+) (?P\d+:\d+) (?P\S+) (?P\S+) (?P\S+) (?P(?:\S+\s)+ )?- (?P\S+) (?P\S+) (?P\S+)') +MI_RE = re.compile(r'(?P\d+) (?P\d+) (?P\d+:\d+) (?P\S+) (?P\S+) (?P\S+) (?P(?:\S+\s)+)?- (?P\S+) (?P\S+) (?P\S+)') for line in file("/proc/self/mountinfo"): mi = MI_RE.match(line) -- 2.20.1