mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CShellWindow: add debug output for error ident
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include <stdio.h>
|
||||
#include <poll.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <system/helpers.h>
|
||||
#include <gui/widget/messagebox.h>
|
||||
#include <errno.h>
|
||||
@@ -195,6 +196,7 @@ void CShellWindow::exec()
|
||||
int r = waitpid(pid, &s, 0);
|
||||
|
||||
if (res) {
|
||||
dprintf(DEBUG_NORMAL, "[CShellWindow] [%s - %d] res=%d, error[%d]: %s\n", __func__, __LINE__, *res, errno, strerror(errno));
|
||||
if (r == -1)
|
||||
*res = errno;
|
||||
else
|
||||
|
Reference in New Issue
Block a user