summary refs log tree commit diff
path: root/src/byte_diff.c
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2014-07-30 13:44:35 +0000
committerGerrit Pape <pape@smarden.org>2014-07-30 13:49:52 +0000
commitfea314879f34ebf1065ff3abfc9dc5e4ea746419 (patch)
treeab35c7ccd46b37399cfb2d2885426ded3cc928d4 /src/byte_diff.c
parent7cb4ff9d9f1b6fde9e25060eaef1e1d29a43a7cb (diff)
downloadrunit-fea314879f34ebf1065ff3abfc9dc5e4ea746419.tar.gz
runit-fea314879f34ebf1065ff3abfc9dc5e4ea746419.tar.xz
runit-fea314879f34ebf1065ff3abfc9dc5e4ea746419.zip
* sv.c: fix typo that may lead to wrong output from sv when reporting
    status of multiple service directories.

Thx Jamie Heilman, https://bugs.debian.org/715512:
> Given two service directories:
>
> # ls testapp1
> run  supervise
> # ls testapp2
> log  run  supervise
>
> where testapp1 is running, and testapp2 isn't:
>
> # sv status ./testapp1
> run: ./testapp1: (pid 3682) 408178s
> # sv status ./testapp2
> fail: ./testapp2: runsv not running
> # sv status ./testapp1 ./testapp2
> run: ./testapp1: (pid 3682) 408184s
> fail: ./testapp2: runsv not running
> run: ./testapp2: (pid 3682) 408184sfail: ./testapp2: runsv not running
Diffstat (limited to 'src/byte_diff.c')
0 files changed, 0 insertions, 0 deletions