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
ee651a54
Commit
ee651a54
authored
Mar 15, 2023
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix_entrypoint' into 'develop'
fix: bug in entrypoint.py See merge request oai/cn5g/oai-cn5g-smf!184
parents
0c968569
34eb0243
Changes
1
Hide 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 @
ee651a54
...
...
@@ -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