Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
04cf0745
Commit
04cf0745
authored
Sep 09, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bourne_shell' into 'master'
Wrap arguments for `[ -z` in double quotes See merge request !1071
parents
0cff6df0
59d2f6db
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG
CHANGELOG
+1
-0
bin/background_jobs
bin/background_jobs
+1
-1
bin/web
bin/web
+1
-1
No files found.
CHANGELOG
View file @
04cf0745
...
@@ -10,6 +10,7 @@ v 7.3.0
...
@@ -10,6 +10,7 @@ v 7.3.0
- Support Unix domain sockets for Redis
- Support Unix domain sockets for Redis
- Store session Redis keys in 'session:gitlab:' namespace
- Store session Redis keys in 'session:gitlab:' namespace
- Deprecate LDAP account takeover based on partial LDAP email / GitLab username match
- Deprecate LDAP account takeover based on partial LDAP email / GitLab username match
- Use /bin/sh instead of Bash in bin/web, bin/background_jobs (Pavel Novitskiy)
- Keyboard shortcuts for productivity (Robert Schilling)
- Keyboard shortcuts for productivity (Robert Schilling)
- API: filter issues by state (Julien Bianchi)
- API: filter issues by state (Julien Bianchi)
- API: filter issues by labels (Julien Bianchi)
- API: filter issues by labels (Julien Bianchi)
...
...
bin/background_jobs
View file @
04cf0745
...
@@ -43,7 +43,7 @@ start_sidekiq()
...
@@ -43,7 +43,7 @@ start_sidekiq()
load_ok
()
load_ok
()
{
{
sidekiq_pid
=
$(
cat
$sidekiq_pidfile
)
sidekiq_pid
=
$(
cat
$sidekiq_pidfile
)
if
[
-z
$sidekiq_pid
]
;
then
if
[
-z
"
$sidekiq_pid
"
]
;
then
warn
"Could not find a PID in
$sidekiq_pidfile
"
warn
"Could not find a PID in
$sidekiq_pidfile
"
exit
0
exit
0
fi
fi
...
...
bin/web
View file @
04cf0745
...
@@ -9,7 +9,7 @@ unicorn_config="$app_root/config/unicorn.rb"
...
@@ -9,7 +9,7 @@ unicorn_config="$app_root/config/unicorn.rb"
get_unicorn_pid
()
get_unicorn_pid
()
{
{
local
pid
=
$(
cat
$unicorn_pidfile
)
local
pid
=
$(
cat
$unicorn_pidfile
)
if
[
-z
$pid
]
;
then
if
[
-z
"
$pid
"
]
;
then
echo
"Could not find a PID in
$unicorn_pidfile
"
echo
"Could not find a PID in
$unicorn_pidfile
"
exit
1
exit
1
fi
fi
...
...
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