Просмотр исходного кода

Merge pull request #1885 from noogen/master

fix typo of extra L issue #1509
Serghey Rodin 6 лет назад
Родитель
Сommit
46db88d266
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      bin/v-update-sys-rrd-pgsql

+ 1 - 1
bin/v-update-sys-rrd-pgsql

@@ -85,7 +85,7 @@ for host in $hosts; do
         # Parsing data
         q='SELECT SUM(xact_commit + xact_rollback), SUM(numbackends)
                 FROM pg_stat_database;'
-        status=$($sql plsql -d postgres -c "$q" 2>/dev/null); code="$?"
+        status=$($sql psql -d postgres -c "$q" 2>/dev/null); code="$?"
         if [ '0' -ne "$code" ]; then
             active=0
             slow=0