VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Build/Packaging/debian-control/prerm2
-rw-r--r--src/Build/Packaging/rpm-control/prerm.sh2
-rw-r--r--src/Setup/Linux/veracrypt-uninstall.sh2
3 files changed, 3 insertions, 3 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
diff --git a/src/Setup/Linux/veracrypt-uninstall.sh b/src/Setup/Linux/veracrypt-uninstall.sh
index e29dbccc..bc74eb0b 100644
--- a/src/Setup/Linux/veracrypt-uninstall.sh
+++ b/src/Setup/Linux/veracrypt-uninstall.sh
@@ -1,6 +1,6 @@
#!/bin/sh
V="$(mount | grep veracrypt_aux_mnt)"
-[ "$V" ] && echo Error: All volumes must be dismounted first. && exit 1
+[ "$V" ] && echo Error: All volumes must be dismounted first. >&2 && exit 1
rm -f /usr/bin/veracrypt
rm -f /usr/share/applications/veracrypt.desktop