* admin/automerge: Die if changing directory fails.

This commit is contained in:
Stefan Kangas 2021-11-08 09:44:09 +01:00
parent 2b7a0397e1
commit 990aad47bd

View file

@ -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 ../
}