summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/App/Raps2.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/App/Raps2.pm b/lib/App/Raps2.pm
index 4a204aa..531e629 100644
--- a/lib/App/Raps2.pm
+++ b/lib/App/Raps2.pm
@@ -46,8 +46,7 @@ sub file_to_hash {
sub sanity_check {
my ($self) = @_;
- make_path( $self->{xdg_conf} );
- make_path( $self->{xdg_data} );
+ make_path( $self->{xdg_conf}, $self->{xdg_data} );
if ( not -e $self->{xdg_conf} . '/password' ) {
$self->create_config();