#include "toys.h"
#ifndef TOYBOX_VERSION
-#define TOYBOX_VERSION "0.6.1"
+#define TOYBOX_VERSION "0.7.0"
#endif
// Populate toy_list[].
if (!(which->flags & TOYFLAG_STAYROOT)) {
if (uid != euid) {
- if (!setuid(uid)) perror_exit("setuid %d->%d", euid, uid); // drop root
+ if (setuid(uid)) perror_exit("setuid %d->%d", euid, uid); // drop root
euid = uid;
toys.wasroot++;
}