mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 21:36:42 +00:00
Add debug message for bad call
This commit is contained in:
parent
7abfb77a13
commit
867726d870
|
@ -4451,8 +4451,10 @@ static bool get_output(char *file, char *arg1, char *arg2, int fdout, bool page)
|
||||||
* to close it, the caller must do it. We don't even know the path to pass to the pager and
|
* to close it, the caller must do it. We don't even know the path to pass to the pager and
|
||||||
* it's a real hassle to get it. In general this just invites problems so we are blocking it.
|
* it's a real hassle to get it. In general this just invites problems so we are blocking it.
|
||||||
*/
|
*/
|
||||||
if (have_file && page)
|
if (have_file && page) {
|
||||||
|
DPRINTF_S("invalid get_ouptput() call");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
/* Setup file descriptors for child command */
|
/* Setup file descriptors for child command */
|
||||||
if (!have_file && page) {
|
if (!have_file && page) {
|
||||||
|
|
Loading…
Reference in a new issue