We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c87f48f commit 3cd3009Copy full SHA for 3cd3009
lgsm/modules/command_backup.sh
@@ -126,7 +126,7 @@ fn_backup_compression() {
126
core_exit.sh
127
fi
128
129
- tar --use-compress-program=pigz -cf "${backupdir}/${backupname}.tar.gz" -C "${rootdir}" --exclude "${excludedir}" --exclude "${lockdir}" --exclude "${tmpdir}" ./.
+ tar --use-compress-program=pigz -hcf "${backupdir}/${backupname}.tar.gz" -C "${rootdir}" --exclude "${excludedir}" --exclude "${lockdir}" --exclude "${tmpdir}" ./.
130
exitcode=$?
131
if [ "${exitcode}" -ne 0 ]; then
132
fn_print_fail_eol
0 commit comments