Skip to content

Commit 14dd7cb

Browse files
authored
Merge pull request #1087 from kernelkit/cleanup
2 parents 2f296e9 + bdc391b commit 14dd7cb

File tree

18 files changed

+6
-569
lines changed

18 files changed

+6
-569
lines changed

package/Config.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ source "$BR2_EXTERNAL_INFIX_PATH/package/confd/Config.in"
1010
source "$BR2_EXTERNAL_INFIX_PATH/package/confd-test-mode/Config.in"
1111
source "$BR2_EXTERNAL_INFIX_PATH/package/curios-httpd/Config.in"
1212
source "$BR2_EXTERNAL_INFIX_PATH/package/curios-nftables/Config.in"
13-
source "$BR2_EXTERNAL_INFIX_PATH/package/execd/Config.in"
1413
source "$BR2_EXTERNAL_INFIX_PATH/package/gencert/Config.in"
1514
source "$BR2_EXTERNAL_INFIX_PATH/package/statd/Config.in"
1615
source "$BR2_EXTERNAL_INFIX_PATH/package/factory/Config.in"

package/execd/Config.in

Lines changed: 0 additions & 8 deletions
This file was deleted.

package/execd/execd.conf

Lines changed: 0 additions & 4 deletions
This file was deleted.

package/execd/execd.hash

Lines changed: 0 additions & 1 deletion
This file was deleted.

package/execd/execd.mk

Lines changed: 0 additions & 29 deletions
This file was deleted.

package/execd/tmpfiles.conf

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Host build of critical components, for Coverity Scan mostly
2-
APPS = bin confd execd factory keyack statd
2+
APPS = bin confd factory keyack statd
33

44
.PHONY: all
55
all:

src/bin/erase.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ static int do_erase(const char *path)
2626
}
2727

2828
cfg_adjust(path, NULL, fn, len);
29-
if (access(fn, F_OK)) {
30-
fprintf(stderr, "No such file: %s\n", fn);
31-
return -1;
32-
}
3329
} else
3430
fn = (char *)path;
3531

src/bin/util.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
static char rawgetch(void)
1515
{
1616
struct termios saved, c;
17-
char key;
17+
int key;
1818

1919
if (tcgetattr(fileno(stdin), &saved) < 0)
2020
return -1;
@@ -33,7 +33,10 @@ static char rawgetch(void)
3333
key = getchar();
3434
tcsetattr(fileno(stdin), TCSANOW, &saved);
3535

36-
return key;
36+
if (key == EOF)
37+
return -1;
38+
39+
return (char)key;
3740
}
3841

3942
int yorn(const char *fmt, ...)

src/execd/.gitignore

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)