Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
E
ecloud-selfhosting
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
e
infra
ecloud-selfhosting
Commits
c5710e4a
Commit
c5710e4a
authored
Mar 02, 2020
by
Florent VINCENT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix $NB_LINES var value
parent
905d888b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/delete-account.sh
scripts/delete-account.sh
+1
-1
No files found.
scripts/delete-account.sh
View file @
c5710e4a
...
...
@@ -49,7 +49,7 @@ if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]]; then
MBOX
=
${
ACCOUNT
%%@*
}
echo
"Updating system persistent info"
NB_LINES
=
$(
grep
-R
"
\:
$MBOX
$"
$AUTH_FILE_DONE
|wc
-l
)
NB_LINES
=
$(
grep
-R
"
\:
$MBOX
$"
$AUTH_FILE_DONE
|wc
-l
)
# if ONLY one line found in auth.file.done, delete it
if
[[
$NB_LINES
=
"1"
]]
;
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