Skip to content
Snippets Groups Projects
Commit 10b4dd94 authored by Mark Harrison's avatar Mark Harrison
Browse files

Remove erroneous backslash

The backslash at the end of the line wasn't a line continuation, and turned
the following string into a reference. Yay perl!
parent ab18ab7d
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,7 @@ sub new { ...@@ -89,7 +89,7 @@ sub new {
$self->{default_dfregex} = '\d+\s+(\d+)\s+(\d+)\s+(\d+)%'; $self->{default_dfregex} = '\d+\s+(\d+)\s+(\d+)\s+(\d+)%';
} elsif ($^O eq 'openbsd') { } elsif ($^O eq 'openbsd') {
$self->{default_dfcmd} = 'df -i'; $self->{default_dfcmd} = 'df -i';
$self->{default_dfregex} = \ $self->{default_dfregex} =
'\d+\s+\d+\s+-?\d+\s+\d+%\s+(\d+)\s+(\d+)\s+(\d+)%'; '\d+\s+\d+\s+-?\d+\s+\d+%\s+(\d+)\s+(\d+)\s+(\d+)%';
} else { } else {
$self->{default_dfcmd} = 'df -iP'; $self->{default_dfcmd} = 'df -iP';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment