Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
aaa_base.16579
git-12-80d14205f913cc67a98c562f988ea700a56c369b...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File git-12-80d14205f913cc67a98c562f988ea700a56c369b.patch of Package aaa_base.16579
commit 80d14205f913cc67a98c562f988ea700a56c369b Author: Ruediger Oertel <ro@suse.de> Date: Wed Oct 16 17:02:39 2019 +0200 service: check if there is a second argument before using it (bsc#1051143) diff --git a/files/usr/sbin/service b/files/usr/sbin/service index 24cc6cc..7ee2dd3 100755 --- a/files/usr/sbin/service +++ b/files/usr/sbin/service @@ -103,7 +103,7 @@ exec_rc () fi echo "$1 is neither service nor target!?" >&2 return "1" - elif [ -x "$actiondir/$1/$2" ]; then + elif [ -n "$2" -a -x "$actiondir/$1/$2" ]; then rc="$actiondir/$1/$2" shift 2 elif [ ${0##*/} = service ] ; then
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor