]> source.dussan.org Git - rspamd.git/commitdiff
Indent shell command for readability 2596/head
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 16 Oct 2018 19:14:50 +0000 (15:14 -0400)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 16 Oct 2018 19:14:50 +0000 (15:14 -0400)
.drone.yml

index f23fa93e68d51ff790f3023bb70b7637a0b85258..98bd7256271e66cb1d33df97239ad0b355fe162e 100644 (file)
@@ -52,9 +52,9 @@ pipeline:
       # shell sets exit status of a process terminated by a signal to '128 + signal-number'
       # if rspamd-test was terminated by a signal it should be SIGSEGV or SIGABRT, try to examine core
       - >
-        if [ $EXIT_CODE -gt 128 ];
-        then gdb -c /var/tmp/*.rspamd-test.core ./rspamd-test -ex "set pagination 0" -ex "thread apply all bt full" --batch;
-        exit $EXIT_CODE;
+        if [ $EXIT_CODE -gt 128 ]; then
+               gdb -c /var/tmp/*.rspamd-test.core ./rspamd-test -ex "set pagination 0" -ex "thread apply all bt full" --batch;
+               exit $EXIT_CODE;
         fi
       # luacov-coveralls reads luacov.stats.out written by rspamd-test using luacov module
       # and writes json report for coveralls.io service