Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
7
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
eb5760a0
authored
6 years ago
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freebsd: fix filelist in cleanup method
Issue:
#23
parent
451e5a07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
freebsd/_freebsdcontext.py
+13
-13
No files found.
freebsd/_freebsdcontext.py
View file @
eb5760a0
...
@@ -200,19 +200,19 @@ class Context(BaseContext):
...
@@ -200,19 +200,19 @@ class Context(BaseContext):
@staticmethod
@staticmethod
def
cleanup
():
def
cleanup
():
filelist
=
([
filelist
=
([
'/root/.bash_history'
'/root/.bash_history'
,
'/home/cloud/.bash_history'
'/home/cloud/.bash_history'
,
'/root/.ssh'
'/root/.ssh'
,
'/home/cloud/.ssh'
'/home/cloud/.ssh'
,
'/root/.lesshst'
'/root/.lesshst'
,
'/home/cloud/.lesshst'
'/home/cloud/.lesshst'
,
'/root/.history'
'/root/.history'
,
'/home/cloud/.history'
'/home/cloud/.history'
,
'/root/.viminfo'
'/root/.viminfo'
,
'/home/cloud/.viminfo'
'/home/cloud/.viminfo'
,
'/etc/nsmb.conf'
'/etc/nsmb.conf'
,
'/root/.nsmbrc.conf'
'/root/.nsmbrc.conf'
,
'/home/cloud/.nsmbrc.conf'
'/home/cloud/.nsmbrc.conf'
,
]
]
+
glob
(
'/etc/ssh/ssh_host_*'
))
+
glob
(
'/etc/ssh/ssh_host_*'
))
for
f
in
filelist
:
for
f
in
filelist
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment