checkrestart 219 B

1234567891011
  1. #!/bin/sh
  2. # {{{ main()
  3. export LANG=C
  4. checkrestart 2>/dev/null| head -n 1 | sed -r 's/^Found ([0-9]+) processes using old versions of upgraded files$/\1/'
  5. exit 0
  6. # }}}
  7. # vim: foldmethod=marker foldlevel=0 foldenable