about summary refs log tree commit diff stats
path: root/leo.pl
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-10-12 13:03:32 +0530
committerAndinus <andinus@nand.sh>2020-10-12 13:03:32 +0530
commitbc94b23d75c03048d8ec2d2fda71cc30a2ab5d8f (patch)
treefec17a65547d62a90141a8fc50e32813e2465c79 /leo.pl
parent78ea92f0d6e9c465b7626986897c90cc184159d6 (diff)
downloadleo-bc94b23d75c03048d8ec2d2fda71cc30a2ab5d8f.tar.gz
Add new config file
Diffstat (limited to 'leo.pl')
-rwxr-xr-xleo.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/leo.pl b/leo.pl
index 4d7e043..5b7a106 100755
--- a/leo.pl
+++ b/leo.pl
@@ -95,7 +95,7 @@ sub backup {
     my @tmp_paths = $profile{$prof}{backup}->@*;
     while (my $path = shift @tmp_paths) {
         if (-d $path) {
-            my $iter = path($path)->iterator;
+            my $iter = path($path)->iterator();
             while ( my $path = $iter->() ) {
                 push @backup_paths, path( $path )->relative('/')
                     unless $exclude_paths{$path};