Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
6
66
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eric Vidal
66
Commits
57158b91
Commit
57158b91
authored
6 years ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
typo
parent
5994ca8f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lib66/ssexec_svctl.c
+1
-1
1 addition, 1 deletion
src/lib66/ssexec_svctl.c
src/lib66/svc_switch_to.c
+5
-4
5 additions, 4 deletions
src/lib66/svc_switch_to.c
with
6 additions
and
5 deletions
src/lib66/ssexec_svctl.c
+
1
−
1
View file @
57158b91
...
...
@@ -495,7 +495,7 @@ int ssexec_svctl(int argc, char const *const *argv,char const *const *envp,ssexe
ss_resolve_sig_t
*
sv
=
&
genalloc_s
(
ss_resolve_sig_t
,
&
gakeep
)[
i
]
;
if
(
!
ftrigr_unsubscribe_g
(
&
fifo
,
sv
->
ids
,
&
ttmain
))
{
VERBO3
strerr_warnwu
1
sys
(
"unsubscribe to fifo of
"
)
;
VERBO3
strerr_warnwu
2
sys
(
"unsubscribe to fifo of
: "
,
sv
->
res
.
sa
.
s
+
sv
->
res
.
name
)
;
return
0
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/lib66/svc_switch_to.c
+
5
−
4
View file @
57158b91
...
...
@@ -54,25 +54,26 @@ int svc_switch_to(ssexec_t *info,unsigned int where)
VERBO3
strerr_warnwu2sys
(
"make a backup of svc service for: "
,
info
->
treename
.
s
)
;
return
0
;
}
VERBO3
strerr_warnt3x
(
"switch svc s
ervice for
tree: "
,
info
->
treename
.
s
,
" to backup"
)
;
VERBO3
strerr_warnt3x
(
"switch svc s
ymlink of
tree: "
,
info
->
treename
.
s
,
" to backup"
)
;
memcpy
(
cmd
+
cmdlen
,
" -s1"
,
4
)
;
cmd
[
cmdlen
+
4
]
=
0
;
r
=
backup_cmd_switcher
(
VERBOSITY
,
cmd
,
info
)
;
if
(
r
<
0
)
{
VERBO3
strerr_warnwu3sys
(
"switch svc s
ervice for
: "
,
info
->
treename
.
s
,
" to backup"
)
;
VERBO3
strerr_warnwu3sys
(
"switch svc s
ymlink of tree
: "
,
info
->
treename
.
s
,
" to backup"
)
;
}
}
else
if
(
r
>
0
&&
!
where
)
{
VERBO3
strerr_warnt3x
(
"switch svc s
ervice for
tree: "
,
info
->
treename
.
s
,
" to source"
)
;
VERBO3
strerr_warnt3x
(
"switch svc s
ymlink of
tree: "
,
info
->
treename
.
s
,
" to source"
)
;
memcpy
(
cmd
+
cmdlen
,
" -s0"
,
4
)
;
cmd
[
cmdlen
+
4
]
=
0
;
r
=
backup_cmd_switcher
(
VERBOSITY
,
cmd
,
info
)
;
if
(
r
<
0
)
{
VERBO3
strerr_warnwu3sys
(
"switch svc s
ervice for
: "
,
info
->
treename
.
s
,
" to source"
)
;
VERBO3
strerr_warnwu3sys
(
"switch svc s
ymlink of tree
: "
,
info
->
treename
.
s
,
" to source"
)
;
}
VERBO3
strerr_warnt2x
(
"make a backup of svc service for: "
,
info
->
treename
.
s
)
;
if
(
!
backup_make_new
(
info
,
CLASSIC
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment