Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #1369
| From | Ian Zimmerman <itz@buug.org> |
|---|---|
| Subject | Re: Annoying "Killed by Signal 1" message using SFTP |
| References | <c60ecd3b-81bc-489b-a926-b79d50c9ecac@z38g2000vbu.googlegroups.com> |
| Date | 2012-05-06 08:46 -0700 |
| Message-ID | <87r4uxe2i0.fsf@foolinux.dyndns.org> (permalink) |
| Newsgroups | comp.os.linux.networking |
| Organization | X-Privat.Org NNTP Server - http://www.x-privat.org |
Earie> I'm using Perl's Net::SFTP::Foreign::Compat module (otherwise a
Earie> great module indeed!) to get and put some files. It works fine,
Earie> except that at the end of the job it generates a "killed by
Earie> signal 1" message. This is extremely annoying, as this job runs
Earie> in crontab, and generates mail each time. Any way to get rid of
Earie> it?
Can you just ignore signal 1 in your script? My perl is rusty, but
something like
$SIG{'HUP'} = 'IGNORE';
--
Ian Zimmerman
gpg public key: 1024D/C6FF61AD
fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD
http://www.gravatar.com/avatar/c66875cda51109f76c6312f4d4743d1e.png
Rule 420: All persons more than eight miles high to leave the court.
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Find similar | Unroll thread
Annoying "Killed by Signal 1" message using SFTP Earie <partso2@yahoo.com> - 2012-04-23 00:36 -0700 Re: Annoying "Killed by Signal 1" message using SFTP Ian Zimmerman <itz@buug.org> - 2012-05-06 08:46 -0700
csiph-web