]> arthur.barton.de Git - bup.git/blobdiff - cmd/drecurse-cmd.py
Set pipefail so that "x | y || exit $?" will work properly.
[bup.git] / cmd / drecurse-cmd.py
index 5be71b5d1fd82df72db1157ef8ec666417c948e4..218b2ef077fee395809e8a3ff96f2d729e9fa9c3 100755 (executable)
@@ -17,9 +17,9 @@ o = options.Options(optspec)
 if len(extra) != 1:
     o.fatal("exactly one filename expected")
 
-excluded_paths = drecurse.parse_excludes(flags)
+excluded_paths = parse_excludes(flags, o.fatal)
 
-it = drecurse.recursive_dirlist(extra, opt.xdev, excluded_paths)
+it = drecurse.recursive_dirlist(extra, opt.xdev, excluded_paths=excluded_paths)
 if opt.profile:
     import cProfile
     def do_it():