Add support for -F flag (trivial as background check is never possible).
This commit is contained in:
parent
026a60d792
commit
0a79c825c9
@ -84,7 +84,7 @@ main(argc, argv)
|
||||
sync();
|
||||
skipclean = 1;
|
||||
markclean = 1;
|
||||
while ((ch = getopt(argc, argv, "b:c:dfm:npy")) != -1) {
|
||||
while ((ch = getopt(argc, argv, "b:c:dfFm:npy")) != -1) {
|
||||
switch (ch) {
|
||||
case 'b':
|
||||
skipclean = 0;
|
||||
@ -105,6 +105,11 @@ main(argc, argv)
|
||||
skipclean = 0;
|
||||
break;
|
||||
|
||||
case 'F':
|
||||
/* We can never run in background */
|
||||
exit(EEXIT);
|
||||
break;
|
||||
|
||||
case 'm':
|
||||
lfmode = argtoi('m', "mode", optarg, 8);
|
||||
if (lfmode &~ 07777)
|
||||
|
Loading…
Reference in New Issue
Block a user