Save logs to tech's $HOME instead of root's
This commit is contained in:
parent
1c3520806c
commit
598dea32c7
1 changed files with 1 additions and 1 deletions
|
|
@ -436,7 +436,7 @@ function ask() {
|
|||
# VARIABLES
|
||||
DEST_DEV="${arg_u}"
|
||||
DEST_PAR="${DEST_DEV}1"
|
||||
LOG_FILE="${HOME}/build-ufd_${DEST_DEV##*/}_$(date +%Y-%m-%d_%H%M_%z).log"
|
||||
LOG_FILE="$(getent passwd tech | cut -d: -f6)/build-ufd_${DEST_DEV##*/}_$(date +%Y-%m-%d_%H%M_%z).log"
|
||||
MAIN_PY="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/settings/main.py"
|
||||
RSYNC_ARGS="-hrtuvS --modify-window=1 --progress"
|
||||
MAIN_KIT="$(realpath "${arg_m:-}" 2>/dev/null || true)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue