Skip to content

Commit

Permalink
Force LC_ALL=C before running df -l command on pki-enroll-request
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolás Kovac Neumann <nkovacne@ull.edu.es>
  • Loading branch information
nkovacne authored and didib committed Nov 15, 2023
1 parent 504baab commit d48b5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/bin/pki-enroll-request.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ done
common_set_conf_vars

LOCK="${PKIDIR}/${CA_FILE}".pem
df -l "${LOCK}" 2> /dev/null | grep -q "File" || die "${LOCK} is not on a local filesystem"
LC_ALL=C df -l "${LOCK}" 2> /dev/null | grep -q "File" || die "${LOCK} is not on a local filesystem"

# Wait for lock on fd 9
(
Expand Down

0 comments on commit d48b5f1

Please sign in to comment.