Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
73b8b120
Commit
73b8b120
authored
Mar 31, 2016
by
neil
Browse files
use domain api in sub shell.
parent
6839de66
Changes
1
Show whitespace changes
Inline
Side-by-side
le.sh
View file @
73b8b120
...
@@ -1041,6 +1041,7 @@ issue() {
...
@@ -1041,6 +1041,7 @@ issue() {
continue
continue
fi
fi
(
if
!
source
$d_api
;
then
if
!
source
$d_api
;
then
_err
"Load file
$d_api
error. Please check your api file and try again."
_err
"Load file
$d_api
error. Please check your api file and try again."
return
1
return
1
...
@@ -1056,6 +1057,11 @@ issue() {
...
@@ -1056,6 +1057,11 @@ issue() {
_err
"Error add txt for domain:
$txtdomain
"
_err
"Error add txt for domain:
$txtdomain
"
return
1
return
1
fi
fi
)
if
[[
"
$?
"
!=
"0"
]]
;
then
return
1
fi
dnsadded
=
'1'
dnsadded
=
'1'
fi
fi
done
done
...
...
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