index
:
naskpass.git
NCurses based replacement for askpass (related to cryptsetup).
log msg
author
committer
range
master
about
summary
refs
log
tree
commit
diff
path:
root
/
main.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
toni <matzeton@googlemail.com>
2014-12-22 15:31:11 +0100
committer
toni <matzeton@googlemail.com>
2014-12-22 15:31:11 +0100
commit
2bb3dfdc0138a924b88a8a8529b4c01b43ae1add
(
patch
)
tree
29a81f1dd24c2b41b9bd67896fb731d4cdf8966f
/
main.c
parent
b50b0ed59c59b6c09f03b7a299281c46f0ee57ad
(
diff
)
parent
20ecfc0d21eb2dacf35ce3af3185c022fc4b8bc4
(
diff
)
Merge branch 'master' of github.com:lnslbrty/naskpass
Conflicts: main.c
Diffstat
(limited to 'main.c')
-rw-r--r--
main.c
1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 7d3995c..a2ce646 100644
--- a/
main.c
+++ b/
main.c
@@ -78,6 +78,7 @@ int main(int argc, char **argv)
exit(EXIT_FAILURE);
}
+
if ((child = vfork()) == 0) {
if (setsid() == (pid_t)-1) {
perror("setsid");