X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fmachine%2Fmachinectl.c;h=688c5109072fb83c1ab9e9c592769ffc681610e5;hb=15411c0cb1192799b37ec8f25d6f30e8d7292fc6;hp=aaf9e9cf2c24476ecf49a533750a47e25d07a39f;hpb=32a568fb90bf0a22a3007fa670305403a5d0bb72;p=elogind.git diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index aaf9e9cf2..688c51090 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -1155,7 +1155,7 @@ static int login_machine(int argc, char *argv[], void *userdata) { if (arg_transport != BUS_TRANSPORT_LOCAL && arg_transport != BUS_TRANSPORT_MACHINE) { log_error("Login only supported on local machines."); - return -ENOTSUP; + return -EOPNOTSUPP; } polkit_agent_open_if_enabled();