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
c6dbc880
authored
Nov 19, 2018
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'issue_23' into 'master'
freebsd: fix filelist in cleanup method See merge request
!11
parents
451e5a07
eb5760a0
Show 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 @
c6dbc880
...
...
@@ -200,19 +200,19 @@ class Context(BaseContext):
@staticmethod
def
cleanup
():
filelist
=
([
'/root/.bash_history'
'/home/cloud/.bash_history'
'/root/.ssh'
'/home/cloud/.ssh'
'/root/.lesshst'
'/home/cloud/.lesshst'
'/root/.history'
'/home/cloud/.history'
'/root/.viminfo'
'/home/cloud/.viminfo'
'/etc/nsmb.conf'
'/root/.nsmbrc.conf'
'/home/cloud/.nsmbrc.conf'
'/root/.bash_history'
,
'/home/cloud/.bash_history'
,
'/root/.ssh'
,
'/home/cloud/.ssh'
,
'/root/.lesshst'
,
'/home/cloud/.lesshst'
,
'/root/.history'
,
'/home/cloud/.history'
,
'/root/.viminfo'
,
'/home/cloud/.viminfo'
,
'/etc/nsmb.conf'
,
'/root/.nsmbrc.conf'
,
'/home/cloud/.nsmbrc.conf'
,
]
+
glob
(
'/etc/ssh/ssh_host_*'
))
for
f
in
filelist
:
...
...
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