File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 9
9
host => $host ,
10
10
server => $::rsnapshot::client::server ,
11
11
client_user => $::rsnapshot::client::client_user ,
12
- options => $options
12
+ options => $options ,
13
+ config_file => undef ,
13
14
}
14
15
15
16
}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ snapshot_root <%= @snapshot_root %>/
33
33
#################################
34
34
35
35
<% @programs.each do |program,directory| -%>
36
- <%- if directory.to_s != 'undef' -%>
36
+ <%- if directory and directory .to_s != 'undef' -%>
37
37
<%= program %> <%= directory %>
38
38
<%- end -%>
39
39
<% end -%>
@@ -43,7 +43,7 @@ snapshot_root <%= @snapshot_root %>/
43
43
###########
44
44
45
45
<% @options.each do |option,value| -%>
46
- <%- if value.to_s != 'undef' -%>
46
+ <%- if value and value .to_s != 'undef' -%>
47
47
<%= option %> <%= value %>
48
48
<%- end -%>
49
49
<% end -%>
You can’t perform that action at this time.
0 commit comments