From 6185780cf779ed46766d01b2f8bfa46869bad0cb Mon Sep 17 00:00:00 2001 From: Samuel FORESTIER Date: Wed, 22 Jul 2020 20:41:51 +0000 Subject: [PATCH] Hide error if not installed as a package or if `dpkg` is not available --- uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uninstall.sh b/uninstall.sh index dd243fc..561b838 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -1,6 +1,6 @@ #!/usr/bin/env sh -if dpkg -l log2ram ; then +if dpkg -l log2ram 2> /dev/null; then echo "Please run : apt remove log2ram" exit 1 fi