CShellWindow: add debug output for error ident

Origin commit data
------------------
Commit: 3896d7ceec
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-28 (Sun, 28 Dec 2014)
This commit is contained in:
2014-12-28 22:38:33 +01:00
parent 8805f5d07d
commit e6be3e3c53

View File

@@ -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