slattach: pass up exit status of shell command
authorMike Frysinger <vapier@gentoo.org>
Mon, 1 Oct 2012 05:38:11 +0000 (01:38 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 1 Oct 2012 05:38:11 +0000 (01:38 -0400)
commit8a77011c10b05815f7d7cb903b2ff05d2552d644
tree6051c43881c986d94b726e4b15283f560d4966b7
parent77d0c1b2a55c1af31cce4df68da7bf93c8155111
slattach: pass up exit status of shell command

This is partially to fix a build warning:
slattach.c: In function 'main':
slattach.c:771:9: warning: ignoring return value of 'system',
declared with attribute warn_unused_result [-Wunused-result]

And partially because I think it's the right thing to do.  Otherwise
there's no way for people to check the exit status of the command they
told slattach to run.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
slattach.c