chdir before remove dir
This commit is contained in:
parent
90727e48d5
commit
8a4b545da6
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ sub save_conf(;$)
|
||||||
log INFO, "Saving repositories configuration";
|
log INFO, "Saving repositories configuration";
|
||||||
|
|
||||||
qx(git push);
|
qx(git push);
|
||||||
|
chdir("/");
|
||||||
remove_tree($gitolite_directory);
|
remove_tree($gitolite_directory);
|
||||||
$gitolite_directory = undef;
|
$gitolite_directory = undef;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue