diff options
author | Aleksey Manevich <manevich.aleksey@gmail.com> | 2016-09-02 15:25:16 +0300 |
---|---|---|
committer | Aleksey Manevich <manevich.aleksey@gmail.com> | 2016-09-02 15:25:16 +0300 |
commit | 5bfd5dc5d1dc4e36a70dec33bf97a380367ace26 (patch) | |
tree | c7f5580aeea1be4b82941bc75e61770ac186772f /src | |
parent | firecfg: update man (diff) | |
download | firejail-5bfd5dc5d1dc4e36a70dec33bf97a380367ace26.tar.gz firejail-5bfd5dc5d1dc4e36a70dec33bf97a380367ace26.tar.zst firejail-5bfd5dc5d1dc4e36a70dec33bf97a380367ace26.zip |
firecfg: small fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/firecfg/main.c | 2 | ||||
-rw-r--r-- | src/man/firecfg.txt | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/firecfg/main.c b/src/firecfg/main.c index 8ca56a2ff..3f9285776 100644 --- a/src/firecfg/main.c +++ b/src/firecfg/main.c | |||
@@ -408,7 +408,7 @@ static void fix_desktop_files(void) { | |||
408 | 408 | ||
409 | // check if basename in PATH | 409 | // check if basename in PATH |
410 | if (!which(bname)) { | 410 | if (!which(bname)) { |
411 | fprintf(stderr, "/usr/share/applications/%s - unable to fix: executable not in PATH\n", filename); | 411 | fprintf(stderr, "/usr/share/applications/%s - skipped, %s not in PATH\n", filename, bname); |
412 | continue; | 412 | continue; |
413 | } | 413 | } |
414 | 414 | ||
diff --git a/src/man/firecfg.txt b/src/man/firecfg.txt index c647acc14..4acacb071 100644 --- a/src/man/firecfg.txt +++ b/src/man/firecfg.txt | |||
@@ -61,6 +61,15 @@ $ sudo firecfg --clean | |||
61 | /usr/local/bin/vlc removed | 61 | /usr/local/bin/vlc removed |
62 | .br | 62 | .br |
63 | [...] | 63 | [...] |
64 | .br | ||
65 | $ firecfg --fix | ||
66 | .br | ||
67 | /home/user/.local/share/applications/chromium.desktop created | ||
68 | .br | ||
69 | /home/user/.local/share/applications/vlc.desktop created | ||
70 | .br | ||
71 | [...] | ||
72 | |||
64 | 73 | ||
65 | .SH LICENSE | 74 | .SH LICENSE |
66 | This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. | 75 | This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |