|
|
df6ace |
/* This file is part of mlogin.
|
|
|
df6ace |
|
|
|
df6ace |
Copyright (c) 2020, Ørjan Malde
|
|
|
df6ace |
|
|
|
df6ace |
mlogin is free software: you can redistribute it and/or modify
|
|
|
df6ace |
it under the terms of the GNU Lesser General Public License as published by
|
|
|
df6ace |
the Free Software Foundation, version 2.1 of the License only
|
|
|
df6ace |
|
|
|
df6ace |
mlogin is distributed in the hope that it will be useful,
|
|
|
df6ace |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
df6ace |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
df6ace |
GNU Lesser General Public License for more details.
|
|
|
df6ace |
|
|
|
df6ace |
You should have received a copy of the GNU Lesser General Public License
|
|
|
df6ace |
along with mlogin. If not, see <https://www.gnu.org/licenses/>. */
|
|
|
df6ace |
|
|
|
df6ace |
|
|
|
df6ace |
#include <stdlib.h>
|
|
|
df6ace |
#include <stdio.h>
|
|
|
df6ace |
#include <string.h>
|
|
|
df6ace |
#include <unistd.h>
|
|
|
df6ace |
|
|
|
df6ace |
|
|
|
df6ace |
#define DEFAULT_MSG "This account is currently not available.\n"
|
|
|
df6ace |
|
|
|
df6ace |
int main(int argc, char *argv[])
|
|
|
df6ace |
{
|
|
|
df6ace |
(void)argc;
|
|
|
df6ace |
(void)argv;
|
|
|
df6ace |
|
|
|
df6ace |
write(STDOUT_FILENO, DEFAULT_MSG, strlen(DEFAULT_MSG));
|
|
|
df6ace |
|
|
|
df6ace |
exit(1);
|
|
|
df6ace |
}
|