* admin/automerge: Die if changing directory fails.
This commit is contained in:
parent
2b7a0397e1
commit
990aad47bd
1 changed files with 2 additions and 1 deletions
|
@ -108,7 +108,8 @@ OPTIND=1
|
|||
|
||||
|
||||
[ "$nocd" ] || {
|
||||
cd $PD # this should be the admin directory
|
||||
# $PD should be the admin directory
|
||||
cd $PD || die "Could not change directory to $PD"
|
||||
cd ../
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue