(list_file): pass filename to ls
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7180 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2094,9 +2094,9 @@ list_file(const char *file)
|
|||||||
pdata = -1;
|
pdata = -1;
|
||||||
} else {
|
} else {
|
||||||
#ifdef HAVE_LS_A
|
#ifdef HAVE_LS_A
|
||||||
char *cmd = "/bin/ls -lA";
|
char *cmd = "/bin/ls -lA %s";
|
||||||
#else
|
#else
|
||||||
char *cmd = "/bin/ls -la";
|
char *cmd = "/bin/ls -la %s";
|
||||||
#endif
|
#endif
|
||||||
retrieve(cmd, file);
|
retrieve(cmd, file);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user