Register
It is currently Sun Jul 27, 2014 10:15 pm

exit code -1


All times are UTC - 6 hours


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 PostPosted: Tue Oct 11, 2011 3:12 am   

Joined: Tue Oct 11, 2011 3:07 am
Posts: 1
Hi,
we ran a command over ssh on a Linux box, and get exit code -1 . Nothing on stdout or stderr.
According to bash manual, exit codes > 127 are signals (-1 == 255 = 127+128 if I am not mistaken). Actual numeric codes appear not to be given in Linux signal.h: apparently they are buried deeper. Also signals typically number up to 32 or 64 or so.
So does anyone know what exit code -1 or signal 128 might be?

Thanx,
Tom


Top
 Profile  
 PostPosted: Tue Oct 11, 2011 8:49 am   
User avatar

Joined: Tue Apr 27, 2010 2:28 pm
Posts: 172
Location: Czech Republic
-1 migh be signal 1, SIGHUP on my system (check yours with
Code:
kill -l
)


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP