From b160ec02c25975c8220141924fabc2c2ef6b7dac Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 18 Jul 2019 14:16:52 +0000 Subject: remove extra if branch in shutdownd; prepare for 1.0.2.1 --- AUTHORS | 1 + INSTALL | 2 +- doc/index.html | 4 ++-- doc/upgrade.html | 7 +++++++ package/info | 2 +- src/shutdown/s6-linux-init-shutdownd.c | 6 ------ 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/AUTHORS b/AUTHORS index ea6d280..c457cbc 100644 --- a/AUTHORS +++ b/AUTHORS @@ -7,3 +7,4 @@ Thanks to: Luis Ressel Samuel Holland Max Rees + Guillermo diff --git a/INSTALL b/INSTALL index e00dc07..bceae26 100644 --- a/INSTALL +++ b/INSTALL @@ -10,7 +10,7 @@ Build Instructions - execline version 2.5.1.0 or later: https://skarnet.org/software/execline/ - s6 version 2.8.0.1 or later: https://skarnet.org/software/s6/ - Optional: nsss version 0.0.1.1 or later: https://skarnet.org/software/nsss/ - - Optional: utmps version 0.0.2.0 or later: https://skarnet.org/software/utmps/ + - Optional: utmps version 0.0.2.2 or later: https://skarnet.org/software/utmps/ This software is Linux-specific. It will run on a Linux kernel, version 2.6.32 or later. However, it should not be too hard to port to diff --git a/doc/index.html b/doc/index.html index 3dbc6b0..1323daf 100644 --- a/doc/index.html +++ b/doc/index.html @@ -90,7 +90,7 @@ want nsswitch-like functionality: 0.0.1.1 or later
  • If you want secure utmp functionality: utmps version -0.0.2.1 or later
  • +0.0.2.2 or later

    @@ -110,7 +110,7 @@ all the other packages against the static version of libskarnet.

    • The current released version of s6-linux-init is -1.0.2.0.
    • +1.0.2.1.
    • Alternatively, you can checkout a copy of the s6-linux-init git repository: diff --git a/doc/upgrade.html b/doc/upgrade.html index 39f24eb..3ccf56f 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -18,6 +18,13 @@

      What has changed in s6-linux-init

      +

      in 1.0.2.1

      + +
        +
      • utmps +optional dependency bumped to 0.0.2.2.
      • +
      +

      in 1.0.2.0

        diff --git a/package/info b/package/info index 75e1335..69dae7c 100644 --- a/package/info +++ b/package/info @@ -1,4 +1,4 @@ package=s6-linux-init -version=1.0.2.0 +version=1.0.2.1 category=admin package_macro_name=S6_LINUX_INIT diff --git a/src/shutdown/s6-linux-init-shutdownd.c b/src/shutdown/s6-linux-init-shutdownd.c index 7f86e66..f988955 100644 --- a/src/shutdown/s6-linux-init-shutdownd.c +++ b/src/shutdown/s6-linux-init-shutdownd.c @@ -86,12 +86,6 @@ static inline void run_stage3 (char const *basedir, char const *const *envp) strerr_warnw3x(stage3, " was killed by signal ", fmt) ; } else if (WEXITSTATUS(wstat)) - { - char fmt[UINT_FMT] ; - fmt[uint_fmt(fmt, WTERMSIG(wstat))] = 0 ; - strerr_warnw3x(stage3, " was killed by signal ", fmt) ; - } - else if (WEXITSTATUS(wstat)) { char fmt[UINT_FMT] ; fmt[uint_fmt(fmt, WEXITSTATUS(wstat))] = 0 ; -- cgit v1.2.3