chiark / gitweb /
units: don't require tty in rc-local.service
[elogind.git] / src / namespace.c
index 09bcaff9684845ee121544f3ebd7151a503100e5..9e964c5b8f4348fa8b3cf905ae0e5d29e9dd410f 100644 (file)
@@ -151,6 +151,9 @@ static int apply_mount(Path *p, const char *root_dir, const char *inaccessible_d
         case PRIVATE:
                 what = private_dir;
                 break;
+
+        default:
+                assert_not_reached("Unknown mode");
         }
 
         if ((r = mount(what, where, NULL, MS_BIND|MS_REC, NULL)) >= 0) {