Browse code

Use correct argument order in truorfalse for USE_JOURNAL

truorfalse function from common-functions accepts default as the first
parameter. The arguments for USE_JOURNAL were mixed up and this commit
restores correct order.

Change-Id: Id3621b0e1910a625d6cfb8e81bd27bea82543ae9

Kirill Zaitsev authored on 2017/05/24 19:00:47
Showing 1 changed files
... ...
@@ -615,7 +615,7 @@ function setup_systemd_logging {
615 615
     # native systemd path, which provides for things like search on
616 616
     # request-id. However, there may be an eventlet interaction here,
617 617
     # so going off for now.
618
-    USE_JOURNAL=$(trueorfalse USE_JOURNAL False)
618
+    USE_JOURNAL=$(trueorfalse False USE_JOURNAL)
619 619
     local pidstr=""
620 620
     if [[ "$USE_JOURNAL" == "True" ]]; then
621 621
         iniset $conf_file $conf_section use_journal "True"