tags 787292 upstream
severity 787292 minor
thanks

Hi Chris,

On Sun, May 31, 2015 at 06:52:35AM +0200, Christoph Anton Mitterer wrote:
> When needrestart-session is run (as user) with an argument, e.g.
> $ needrestart-session foo
> it doesn't seem to do anything (not even the "nothing found" popup).

this is intentional. If needrestart-session is triggered via dbus it
is called with an argument. From the source:

# Don't show any progressbar nor 'Nothing found...' message if there
# was a parameter supplied (as needrestart-dbus-session does).

I was just to lazy to add any argument parsing, yet. I did not expect
that users are calling needrestart-session manually suppling
arguments. I'm going to add some basic getopts stuff so there will
--(help|version) avialable, too.


HTH,
Thomas

> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.0.0-1-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_DE.utf8, LC_CTYPE=en_DE.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages needrestart-session depends on:
> ii  libnet-dbus-perl           1.1.0-3
> ii  libproc-processtable-perl  0.51-1
> ii  libwx-perl                 1:0.9923-4
> ii  needrestart                2.1-1
> ii  perl                       5.20.2-6
> ii  policykit-1                0.105-8
> ii  wmctrl                     1.07-7
> 
> needrestart-session recommends no packages.
> 
> needrestart-session suggests no packages.
> 
> -- no debconf information
> 
--

    ::  WWW:                        https://fiasko-nw.net/~thomas/  ::
   :::  Jabber:                   xmpp:tho...@jabber.fiasko-nw.net  :::
    ::  flickr:             https://www.flickr.com/photos/laugufe/  ::

Reply via email to