summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-04-19 10:24:09 +0200
committerDave Davenport <qball@gmpclient.org>2017-04-19 10:24:09 +0200
commit9bd17ddfd01f3a2c7ba0679c8094b338b88dc377 (patch)
tree899ef772530a2268ef5919a188c361eeb0a2e26b /source
parentdc2de0d0426cdca2e5ba6e29e65bfae6e577a483 (diff)
[RUN] Report the expanded PATH entry in debug output
Diffstat (limited to 'source')
-rw-r--r--source/dialogs/run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/run.c b/source/dialogs/run.c
index a597abc1..204f71bb 100644
--- a/source/dialogs/run.c
+++ b/source/dialogs/run.c
@@ -233,9 +233,9 @@ static char ** get_apps ( unsigned int *length )
for ( const char *dirname = strtok_r ( path, sep, &strtok_savepointer ); dirname != NULL; dirname = strtok_r ( NULL, sep, &strtok_savepointer ) ) {
char *fpath = rofi_expand_path ( dirname );
DIR *dir = opendir ( fpath );
+ g_debug ( "Checking path %s for executable.", fpath );
g_free ( fpath );
- g_debug ( "Checking path %s for executable.", dirname );
if ( dir != NULL ) {
struct dirent *dent;
gsize dirn_len = 0;