runsv: fix open error check (fd < -1 should be fd < 0)
No binary (build failed)
gcc -Wp,-MD,applets/.usage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Iinclude -Iinclude -o applets/usage applets/usage.c
(log yok)
| @@ -210,7 +210,7 @@ static void update_status(struct svdir *s) | |
| /* stat */ | |
| fd = open_trunc_or_warn(fstatnew); | |
| - | if (fd < -1) |
| + | if (fd < 0) |
| return; | |
| { | |