[at: 1/2] fix incorrect option in test in 56atd
Marcela Mašláňová
mmaslano at fedoraproject.org
Mon Nov 14 09:48:29 UTC 2011
commit 4c35e57e8efbe8b1a9844dfa50ffe11034ec8583
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Mon Nov 14 10:42:16 2011 +0100
fix incorrect option in test in 56atd
56atd | 2 +-
at.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/56atd b/56atd
index 6cf9a8a..1104675 100644
--- a/56atd
+++ b/56atd
@@ -7,7 +7,7 @@ case "$1" in
hibernate|suspend)
;;
thaw|resume)
- if [ -d /etc/init.d/atd ]; then
+ if [ -f /etc/init.d/atd ]; then
/etc/init.d/atd restart
elif
systemctl try-restart atd.service
diff --git a/at.spec b/at.spec
index 9315fad..e76450c 100644
--- a/at.spec
+++ b/at.spec
@@ -3,7 +3,7 @@
Summary: Job spooling tools
Name: at
Version: 3.1.13
-Release: 3%{dist}
+Release: 4%{dist}
License: GPLv2+
Group: System Environment/Daemons
URL: http://ftp.debian.org/debian/pool/main/a/at
@@ -188,6 +188,9 @@ fi
%attr(0755,root,root) %{_initrddir}/atd
%changelog
+* Mon Nov 14 2011 Marcela Mašláňová <mmaslano at redhat.com> - 3.1.13-4
+- fix incorrect option in test in 56atd
+
* Wed Sep 4 2011 Marcela Mašláňová <mmaslano at redhat.com> - 3.1.13-3
- 729742 fix 56atd script for systemd
More information about the scm-commits
mailing list