Browse Source

Look at home dir correctly and avoid ~ which does not work in variables

genhushconfig
Jonathan "Duke" Leto 7 years ago
parent
commit
00c7fc2126
  1. 2
      bin/genhushconfig

2
bin/genhushconfig

@ -2,7 +2,7 @@
# Generate a new Hush node config
DIR="~/.hush"
DIR="$HOME/.hush"
if [ -d "$DIR" ]; then
echo "Hush config directory $DIR already exists, doing nothing!!!"
else

Loading…
Cancel
Save