Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
a7856c55
Commit
a7856c55
authored
Nov 17, 2009
by
Andrian Nord
Committed by
Daniel Lezcano
Nov 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc-netstat should use @LXCPATH@ for lxcpath=
Typo ;) Signed-off-by:
Andrian Nord
<
NightNord@gmail.com
>
Signed-off-by:
Daniel Lezcano
<
dlezcano@fr.ibm.com
>
parent
92db2bb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
lxc-netstat.in
src/lxc/lxc-netstat.in
+1
-6
No files found.
src/lxc/lxc-netstat.in
View file @
a7856c55
#!/bin/bash
# set -ex
lxcpath
=
/var/lib/lxc
exec
=
""
if
[
!
-r
$lxcpath
]
;
then
exit
0
fi
if
[
$#
-eq
0
]
;
then
echo
"usage:
$0
-n <name>"
exit
1
...
...
@@ -23,7 +18,7 @@ for i in $*; do
done
if
[
-z
"
$exec
"
]
;
then
exec
/usr/bin/lxc-unshare
-s
MOUNT
--
/usr/bin/lxc-netstat
-n
$name
--exec
$*
exec
@BINDIR@/lxc-unshare
-s
MOUNT
--
$0
-n
$name
--exec
$*
fi
if
[
-z
"
$name
"
]
;
then
...
...
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