oeps, don't show lockfile in list
This commit is contained in:
parent
3d022151d7
commit
5067c06ad0
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ sub read_cur_dir {
|
||||||
my (@dir, $filename);
|
my (@dir, $filename);
|
||||||
opendir(DIRHANDLE, ".") or &cdie("couldn't open .: $!\n");
|
opendir(DIRHANDLE, ".") or &cdie("couldn't open .: $!\n");
|
||||||
while ( defined ($filename = readdir(DIRHANDLE)) ) {
|
while ( defined ($filename = readdir(DIRHANDLE)) ) {
|
||||||
unless ($filename eq "." | $filename eq "..") {
|
unless ($filename eq "." | $filename eq ".." | $filename eq ".mvwrap" ) {
|
||||||
chomp ($filename);
|
chomp ($filename);
|
||||||
push @dir, $filename;
|
push @dir, $filename;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue