mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 13:13:34 +01:00
Linux: during uninstall, output error message to STDERR instead of STDOUT for better compatibility with package managers
This commit is contained in:
parent
8d24022bda
commit
8c6838e85c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user