mirror of
https://github.com/systemd/systemd
synced 2025-11-21 09:44:44 +01:00
Compare commits
No commits in common. "29c639887a17d8bcb0e4c38de3a787ed17e847ed" and "6602a5f7208edd456569343f61b7e5661b0ce299" have entirely different histories.
29c639887a
...
6602a5f720
@ -5,5 +5,5 @@ Environment=
|
|||||||
GIT_URL=https://salsa.debian.org/systemd-team/systemd.git
|
GIT_URL=https://salsa.debian.org/systemd-team/systemd.git
|
||||||
GIT_SUBDIR=debian
|
GIT_SUBDIR=debian
|
||||||
GIT_BRANCH=debian/master
|
GIT_BRANCH=debian/master
|
||||||
GIT_COMMIT=e50fce1d4b2a9f1bb990027de8e86603f3b42301
|
GIT_COMMIT=49dd9371a0c0dd08c7847c5885722eab88ac279f
|
||||||
PKG_SUBDIR=debian
|
PKG_SUBDIR=debian
|
||||||
|
|||||||
@ -783,9 +783,7 @@ static int verb_call(int argc, char *argv[], void *userdata) {
|
|||||||
"Method call %s() returned expected error: %s", method, error);
|
"Method call %s() returned expected error: %s", method, error);
|
||||||
|
|
||||||
r = 0;
|
r = 0;
|
||||||
} else if (streq(error, SD_VARLINK_ERROR_EXPECTED_MORE))
|
} else {
|
||||||
r = log_error_errno(SYNTHETIC_ERRNO(EBADE), "Method call %s() failed: called without 'more' flag, but flag needs to be set.", method);
|
|
||||||
else {
|
|
||||||
r = sd_varlink_error_to_errno(error, reply);
|
r = sd_varlink_error_to_errno(error, reply);
|
||||||
if (r != -EBADR)
|
if (r != -EBADR)
|
||||||
log_error_errno(r, "Method call %s() failed: %m", method);
|
log_error_errno(r, "Method call %s() failed: %m", method);
|
||||||
|
|||||||
@ -191,7 +191,6 @@ varlinkctl introspect /run/systemd/io.systemd.Manager io.systemd.Unit
|
|||||||
varlinkctl --more call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{}'
|
varlinkctl --more call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{}'
|
||||||
varlinkctl call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{"name": "multi-user.target"}'
|
varlinkctl call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{"name": "multi-user.target"}'
|
||||||
varlinkctl call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{"pid": {"pid": 0}}'
|
varlinkctl call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{"pid": {"pid": 0}}'
|
||||||
(! varlinkctl call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{}' |& grep -q "called without 'more' flag")
|
|
||||||
(! varlinkctl call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{"name": ""}')
|
(! varlinkctl call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{"name": ""}')
|
||||||
(! varlinkctl call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{"name": "non-existent.service"}')
|
(! varlinkctl call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{"name": "non-existent.service"}')
|
||||||
(! varlinkctl call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{"pid": {"pid": -1}}' )
|
(! varlinkctl call /run/systemd/io.systemd.Manager io.systemd.Unit.List '{"pid": {"pid": -1}}' )
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user