From 8c6838e85c242783e70dfadadf989fbf3c86a312 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 8 Nov 2019 10:17:30 +0100 Subject: Linux: during uninstall, output error message to STDERR instead of STDOUT for better compatibility with package managers --- src/Setup/Linux/veracrypt-uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Setup') 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 -- cgit v1.2.3