diff --git a/cluster_cron.pl b/cluster_cron.pl index e63714e..f75ddf9 100755 --- a/cluster_cron.pl +++ b/cluster_cron.pl @@ -154,7 +154,7 @@ sub uncomment { open(INFILE,"<$infile"); my $content = ''; while(my $line = ) { - $line =~ s/^#\s{1,4}([\d\*])/ $1/g; + $line =~ s/^#\s*([\d\*])/ $1/g; $content .= $line; }