Hello community,

here is the log from the commit of package at for openSUSE:Factory checked in 
at 2014-01-27 11:43:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/at (Old)
 and      /work/SRC/openSUSE:Factory/.at.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "at"

Changes:
--------
--- /work/SRC/openSUSE:Factory/at/at.changes    2013-11-20 10:23:26.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.at.new/at.changes       2014-01-27 
11:43:21.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Jan 23 21:15:53 UTC 2014 - [email protected]
+
+- Fixed leaking the exit code of systemctl in atd.sh. A change 
+  to at.sleep prevents leaking systemctl exit code as well as 
+  simplifies the script.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ at.spec ++++++
--- /var/tmp/diff_new_pack.4GMcIo/_old  2014-01-27 11:43:22.000000000 +0100
+++ /var/tmp/diff_new_pack.4GMcIo/_new  2014-01-27 11:43:22.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package at
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++++++ at.sleep ++++++
--- /var/tmp/diff_new_pack.4GMcIo/_old  2014-01-27 11:43:22.000000000 +0100
+++ /var/tmp/diff_new_pack.4GMcIo/_new  2014-01-27 11:43:22.000000000 +0100
@@ -1,9 +1,12 @@
 #!/bin/sh
-case $1/$2 in
-  pre/*)
-    systemctl --quiet is-enabled atd && systemctl stop atd
-  ;;
-  post/*)
-  systemctl --quiet is-enabled atd && systemctl restart atd
-  ;;
-esac
+
+if systemctl --quiet is-enabled atd; then
+  case $1/$2 in
+    pre/*)
+      systemctl stop atd
+      ;;
+    post/*)
+      systemctl restart atd
+      ;;
+  esac
+fi

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to