[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#777527: unblock: shutdown-at-night/0.15



control: retitle -1 unblock: shutdown-at-night/0.15
control: tags -1 confirmed

Hi,

<      mehdi> | h01ger: please upload and tell me when it gets accepted.

the package has been accepted into unstable, this is the diff to jessie:

$ debdiff shutdown-at-night_0.14.dsc shutdown-at-night_0.15.dsc
diff -Nru shutdown-at-night-0.14/debian/changelog shutdown-at-night-0.15/debian/changelog
--- shutdown-at-night-0.14/debian/changelog     2014-08-30 10:18:30.000000000 +0200
+++ shutdown-at-night-0.15/debian/changelog     2015-02-17 10:53:28.000000000 +0100
@@ -1,3 +1,12 @@
+shutdown-at-night (0.15) unstable; urgency=medium
+
+  [ Wolfgang Schweer ]
+  * Adjust the 'who' command to exclude the special case of gdm3 greeter
+    running as user '(unknown)' to be assumed as a logged in user
+    (Closes: #775608).
+
+ -- Holger Levsen <holger@debian.org>  Tue, 17 Feb 2015 10:53:25 +0100
+
 shutdown-at-night (0.14) unstable; urgency=low
 
   * Updated Standards-Version from 3.9.4 to 3.9.5.  No changes needed
diff -Nru shutdown-at-night-0.14/shutdown-at-night shutdown-at-night-0.15/shutdown-at-night
--- shutdown-at-night-0.14/shutdown-at-night    2014-03-24 12:26:33.000000000 +0100
+++ shutdown-at-night-0.15/shutdown-at-night    2015-01-24 12:10:25.000000000 +0100
@@ -98,7 +98,7 @@
 
 # Return true if local user is logged in, false otherwise
 is_local_user() {
-    if [ "$(who)" ] ; then
+    if [ "$(who | grep -v '\(unknown\)')" ] ; then
         return 0
     else
         return 1


thanks & cheers,
	Holger

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: