Skip to content

Commit

Permalink
refix mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
dgeo committed Apr 25, 2024
1 parent 0e5d513 commit 3acc123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync/sync_zfs_from.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [ "$LOCKED_SYNC_JAILS" != "YES_LOCKED" ]; then
fi
LOGNAME=sync_$(echo $DST | sed 's/[^-a-zA-Z0-9_]/_/g;')
MYTMPDIR=${TMPDIR:-/var/tmp}/sync_zfs
mkdir -m 700 $MYTMPDIR
mkdir -p -m 700 $MYTMPDIR
export SSHKEY SRC DST LOGNAME KEEPEXPR MYTMPDIR
echo "$(date): lock $0 $*" >> /var/log/$LOGNAME.log
exec lockf -t 0 /var/run/$LOGNAME.lock $0
Expand Down

0 comments on commit 3acc123

Please sign in to comment.