diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-11-08 10:17:30 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-11-09 00:26:14 +0100 |
commit | 8c6838e85c242783e70dfadadf989fbf3c86a312 (patch) | |
tree | 40750772a95d435e554c583608b742221b5c6663 /src/Build/Packaging | |
parent | 8d24022bda960f17129c455b9debf1e97a21bddc (diff) | |
download | VeraCrypt-8c6838e85c242783e70dfadadf989fbf3c86a312.tar.gz VeraCrypt-8c6838e85c242783e70dfadadf989fbf3c86a312.zip |
Linux: during uninstall, output error message to STDERR instead of STDOUT for better compatibility with package managers
Diffstat (limited to 'src/Build/Packaging')
-rw-r--r-- | src/Build/Packaging/debian-control/prerm | 2 | ||||
-rw-r--r-- | src/Build/Packaging/rpm-control/prerm.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Build/Packaging/debian-control/prerm b/src/Build/Packaging/debian-control/prerm index e9deafc3..d2e3894e 100644 --- a/src/Build/Packaging/debian-control/prerm +++ b/src/Build/Packaging/debian-control/prerm @@ -2,7 +2,7 @@ V="$(mount | grep veracrypt_aux_mnt)" if [ ! -z "$V" ] then - echo "Error: All VeraCrypt volumes must be dismounted first." + echo "Error: All VeraCrypt volumes must be dismounted first." >&2 exit 1 else exit 0 diff --git a/src/Build/Packaging/rpm-control/prerm.sh b/src/Build/Packaging/rpm-control/prerm.sh index e9deafc3..d2e3894e 100644 --- a/src/Build/Packaging/rpm-control/prerm.sh +++ b/src/Build/Packaging/rpm-control/prerm.sh @@ -2,7 +2,7 @@ V="$(mount | grep veracrypt_aux_mnt)" if [ ! -z "$V" ] then - echo "Error: All VeraCrypt volumes must be dismounted first." + echo "Error: All VeraCrypt volumes must be dismounted first." >&2 exit 1 else exit 0 |