debugging

This commit is contained in:
Patrick Schleizer 2019-12-29 04:41:23 -05:00
parent e3e1ff2a31
commit 683028049c
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -257,6 +257,8 @@ set_file_perms() {
if ! read -r fso mode_from_config owner_from_config group_from_config capability_from_config <<< "$line" ; then if ! read -r fso mode_from_config owner_from_config group_from_config capability_from_config <<< "$line" ; then
exit_code=201 exit_code=201
echo "ERROR: cannot parse. line: '$line'" >&2 echo "ERROR: cannot parse. line: '$line'" >&2
## Debugging.
du -hs /tmp /var/log || true
## Safer to exit with error in this case. ## Safer to exit with error in this case.
## https://forums.whonix.org/t/disable-suid-binaries/7706/59 ## https://forums.whonix.org/t/disable-suid-binaries/7706/59
exit "$exit_code" exit "$exit_code"