diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-10-10 08:05:35 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-10-10 08:05:35 -0700 |
commit | 79ab0b3a5de124c224f98a4c073932e085469b2d (patch) | |
tree | 4eed0f27ce4c596c6d4875d15f2566e0f179f559 /bin/locmaint | |
parent | 72d4d00c76b40c677f3cee4321011bbccc48a8f4 (diff) | |
download | dotfiles-79ab0b3a5de124c224f98a4c073932e085469b2d.tar.gz |
drop superfluous trailing undef arguments
Diffstat (limited to 'bin/locmaint')
-rwxr-xr-x | bin/locmaint | 9 |
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 { |