summaryrefslogtreecommitdiff
path: root/bin/locmaint
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-10-10 08:05:35 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-10-10 08:05:35 -0700
commit79ab0b3a5de124c224f98a4c073932e085469b2d (patch)
tree4eed0f27ce4c596c6d4875d15f2566e0f179f559 /bin/locmaint
parent72d4d00c76b40c677f3cee4321011bbccc48a8f4 (diff)
downloaddotfiles-79ab0b3a5de124c224f98a4c073932e085469b2d.tar.gz
drop superfluous trailing undef arguments
Diffstat (limited to 'bin/locmaint')
-rwxr-xr-xbin/locmaint9
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/locmaint b/bin/locmaint
index f44c86d5..861c0fa6 100755
--- a/bin/locmaint
+++ b/bin/locmaint
@@ -198,8 +198,7 @@ sub do_homedir {
unless $empty;
return $empty;
},
- "$ENV{HOME}/tmp",
- undef);
+ "$ENV{HOME}/tmp");
# local/big: files not included in duplicity backups
#
@@ -259,9 +258,7 @@ sub do_homedir {
("There were issues when reviewing this repo.")
if $issues;
return !$issues; },
- $mr_repo->toplevel,
- undef
- );
+ $mr_repo->toplevel);
} else {
interactive_ensure_subroutine_no_output(sub { $mr_repo->status() },
$mr_repo->toplevel,
@@ -276,7 +273,7 @@ sub do_homedir {
# look for any files outside of repos that src_cleanup() didn't
# manage to clean up
interactive_ensure_subroutine(\&loose_src_files, sub { return !shift },
- "$ENV{HOME}/src", undef);
+ "$ENV{HOME}/src");
}
sub do_coldbkup {