[RUN] Report the expanded PATH entry in debug output

This commit is contained in:
Dave Davenport 2017-04-19 10:24:09 +02:00
parent dc2de0d042
commit 9bd17ddfd0
1 changed files with 1 additions and 1 deletions

View File

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