Improvement to config handling
[streamdesktop.git] / streamdesktop
index c1e58859763df360183da54073021e80550c78cc..7e719e095d377a3ea1b00206f7c948c9a06bb4fc 100755 (executable)
@@ -31,8 +31,8 @@ fi
 # Server side dependencies: icecast2
 
 . config
-if [ "$PASSWORD" = "hackme" ]; then
-  echo Edit ./config to set up your server, password, and other parameters
+if ! [ -f config ]; then
+  echo Copy ./config.example into ./config, and edit it to set up your server, password, and other parameters
   exit 1
 fi