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

Re: NEW BUGS IN FROZEN! :(



>> "CW" == Chris Waters <xtifr@dsp.net> writes:

CW> So, anyway, I have this NMU for util-linux sitting here, and if
CW> someone can give me a working dupload, I'll gladly upload it.
CW> Otherwise, I'll do it by hand sometime tomorrow or so.  I'd file a
CW> bug against dupload tonight, but it's bedtime.

Here is the diff:

--- dupload.old Fri Dec 18 16:13:00 1998
+++ dupload     Sun Dec 20 12:59:24 1998
@@ -328,7 +328,7 @@
                $t = time();
                if ($method eq "ftp") {
                        if (!$dry) {
-                               unless ftp::put($file, $file) {
+                               unless (ftp::put($file, $file)) {
                                        ftp::delete($file) ;
                                        fatal("Can't upload $file\n");
                                }

One should at least use perl -c to check the syntax of a perl script.

Ciao,
	Martin


Reply to: