diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-12-30 05:51:12 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-12-30 05:51:30 +0300 |
| commit | 7f5c0175e973f2f2795239382446197ebf026515 (patch) | |
| tree | 09fb90a0e7772c980d59c19d879bd3b04a6de8f2 | |
| parent | 1eb0f0ceb1091ec837522faa782fec007feef5da (diff) | |
units/export: Remove full path from tar
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
| -rw-r--r-- | units/export.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/export.zsh b/units/export.zsh index 453c233..7680470 100644 --- a/units/export.zsh +++ b/units/export.zsh @@ -15,7 +15,7 @@ done rm -f "${cache}/${user_id}.tar" -if ! tar c -hf "${cache}/${user_id}.tar" "${user_config}" +if ! tar c -hf "${cache}/${user_id}.tar" -C "${users}" "${user_id}" then output_text="Something went wrong, try again later" |
