""security"" also make it compile on alpine

This commit is contained in:
TriMill 2022-11-08 10:11:32 -05:00
parent a3fb8b360c
commit d50552c031
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ BIN=udo
all:
mkdir -p bin
gcc $(CFLAGS) $(wildcard src/*.c) -o bin/udo
gcc $(wildcard src/*.c) -o bin/udo $(CFLAGS)
install: all
cp bin/udo /usr/local/bin/udo

View file

@ -8,7 +8,7 @@
#include <security/pam_misc.h>
int main(int argc, char** argv) {
if(argc == 1) {
if(argc <= 1) {
printf("insufficient\n");
return 0;
}