瀏覽代碼

improve error message

Chris Vogel 1 年之前
父節點
當前提交
7c050d2b89
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/install

+ 1 - 1
scripts/install

@@ -12,7 +12,7 @@ ynh_app_setting_set --app=$app --key=password_couchdb_admin --value="$password_c
 # check if couchdb is already installed
 if [[ -e /opt/couchdb ]] || pgrep epmd > /dev/null || pgrep beam.smp || dpkg-query -W couchdb > /dev/null 2>&1; 
 then
-  ynh_print_err --message="CouchDB already installed on this host - will not proceed."
+  ynh_die --message="CouchDB already installed on this host - will not proceed."
   exit 1
 fi