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
commit2d02fda50a5a627aeb452225af88fa48aca8ab41 (patch)
tree3ec49dca64b4da55e1efb8462b18f8b4f044fc22 /scripts/sh/remove_ergo.sh
parentbfe703327fda52dd601a878bbd70352ebbb92810 (diff)
downloadsystem-2d02fda50a5a627aeb452225af88fa48aca8ab41.tar.gz
system-2d02fda50a5a627aeb452225af88fa48aca8ab41.tar.bz2
system-2d02fda50a5a627aeb452225af88fa48aca8ab41.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