summaryrefslogtreecommitdiffstats
path: root/scripts/sh/remove_ergo.sh
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2021-07-23 18:26:54 +0200
committerGeorg Pfuetzenreuter2021-07-23 18:32:41 +0200
commit98b3b710a97a9047c4fbce5144e93d15ee435956 (patch)
tree3ec49dca64b4da55e1efb8462b18f8b4f044fc22 /scripts/sh/remove_ergo.sh
parent9ad1234cc4c05e5ee5d3dede508652bb30fe0966 (diff)
downloadsystem-98b3b710a97a9047c4fbce5144e93d15ee435956.tar.gz
system-98b3b710a97a9047c4fbce5144e93d15ee435956.tar.bz2
system-98b3b710a97a9047c4fbce5144e93d15ee435956.zip
Ergo deployment OS and existing installation check.
Signed-off-by: Georg Pfuetzenreuter <georg@lysergic.dev>
Diffstat (limited to 'scripts/sh/remove_ergo.sh')
-rwxr-xr-xscripts/sh/remove_ergo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sh/remove_ergo.sh b/scripts/sh/remove_ergo.sh
index c9af4de..0634946 100755
--- a/scripts/sh/remove_ergo.sh
+++ b/scripts/sh/remove_ergo.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-if [ ! /opt/ergo ]
+if [ ! -d /opt/ergo ]
echo
then
read -p "Remove Ergo? This will kill running Ergo services and cause data loss. " -n 1 -r