Commit 923c6ee2 authored by Sam Thursfield's avatar Sam Thursfield
Browse files

cli: Use g_warning() instead of g_print() for error

Output before:

    Path                                                                                                                                           Recursive
    /home/pi/Desktop                                                                                                                               *
    Could not expand XDG user directory &DOCUMENTSCould not expand XDG user directory &MUSICCould not expand XDG user directory &PICTURESCould not expand XDG user directory &VIDEOS/home/pi                                                                                                                                       -

Output after:

    Path                                                                                                                                           Recursive
    /home/pi/Desktop                                                                                                                               *

    (tracker index:28168): Tracker-WARNING **: 14:41:09.497: Could not expand XDG user directory &DOCUMENTS

    (tracker index:28168): Tracker-WARNING **: 14:41:09.498: Could not expand XDG user directory &MUSIC

...
parent 4ac76bd5
Pipeline #290253 passed with stages
in 8 minutes and 34 seconds
......@@ -332,7 +332,7 @@ print_list (GStrv list,
g_free (str);
}
else {
g_print("Could not expand XDG user directory %s", list[i]);
g_warning ("Could not expand XDG user directory %s", list[i]);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment