Package: suck
Version: 4.3.2-4
Severity: normal
Tags: patch
After upgrading from woody to sarge I noticed the following error
message when calling /usr/sbin/get-news:
> Problem running /usr/sbin/ctlinnd flush news.netcologne.de: No such
> file or directory
I had a look into this script and found the following code:
if ($var{'servtype'} =~ /^inn/) {
my $flushcmd = "$var{'newsbin'}/ctlinnd flush $site";
print ts()."$flushcmd\n" if ($verbose);
system($flushcmd) or
print STDERR "Problem running $flushcmd: $!\n";
}
If system($flushcmd) runs without an error it returns 0, which results
in the error message been printed. I think the following patch should
fix this problem:
--- /usr/sbin/get-news.org 2004-08-09 13:31:02.000000000 +0200
+++ /usr/sbin/get-news 2005-06-07 20:54:59.000000000 +0200
@@ -279,7 +279,7 @@
if ($var{'servtype'} =~ /^inn/) {
my $flushcmd = "$var{'newsbin'}/ctlinnd flush $site";
print ts()."$flushcmd\n" if ($verbose);
- system($flushcmd) or
+ system($flushcmd) == 0 or
print STDERR "Problem running $flushcmd: $!\n";
}
}
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing'), (70, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.28
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages suck depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
-- debconf information excluded
Tschoeeee
Roland
--
* [EMAIL PROTECTED] * http://www.spinnaker.de/ *
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]