This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Show hidden files if run as root
master
sin
10 years ago
parent
65a01f9636
commit
3bc66a43a7
1 changed files
with
6 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-1
noice.c
+ 6
- 1
noice.c
View File
@@ -606,7 +606,12 @@ int
main(int argc, char *argv[])
{
char cwd[PATH_MAX], *ipath;
char *ifilter = "^[^.].*"; /* Hide dotfiles */
char *ifilter;
if (getuid() == 0)
ifilter = ".*";
else
ifilter = "^[^.].*"; /* Hide dotfiles */
if (argv[1] != NULL) {
ipath = argv[1];
Write
Preview
Loading…
Cancel
Save