Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-SMF
Commits
34eb0243
Commit
34eb0243
authored
Mar 15, 2023
by
Sagar Arora
Committed by
Raphael Defosseux
Mar 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: bug in entrypoint.py
parent
1df612c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/entrypoint.py
scripts/entrypoint.py
+3
-3
No files found.
scripts/entrypoint.py
View file @
34eb0243
...
...
@@ -51,8 +51,8 @@ if MOUNT_CONFIG != "yes":
with
open
(
CONFIG_FILE
,
"w"
)
as
fh
:
fh
.
write
(
output
)
print
(
f"Configuration file
{
CONFIG_FILE
}
is ready"
)
if
len
(
sys
.
argv
)
==
1
:
sys
.
exit
(
0
)
os
.
execvp
(
sys
.
argv
[
1
],
sys
.
argv
[
1
:])
#important for running the network function it works like exec $@
else
:
print
(
"Configuration file is mounted to the network function"
)
if
len
(
sys
.
argv
)
==
1
:
sys
.
exit
(
0
)
os
.
execvp
(
sys
.
argv
[
1
],
sys
.
argv
[
1
:])
#important for running the network function it works like exec $@
\ No newline at end of file
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