chdir before remove dir
This commit is contained in:
parent
90727e48d5
commit
8a4b545da6
|
@ -48,6 +48,7 @@ sub save_conf(;$)
|
|||
log INFO, "Saving repositories configuration";
|
||||
|
||||
qx(git push);
|
||||
chdir("/");
|
||||
remove_tree($gitolite_directory);
|
||||
$gitolite_directory = undef;
|
||||
}
|
||||
|
|
Reference in New Issue