chiark / gitweb /
service: if we cannot add an alias to a sysv service, ignore this and go on
[elogind.git] / src / swap.h
index 3c53536a830690061f98c64615de746ec7958c5f..a180708ac8f5758bc8d1195945656acdb74788aa 100644 (file)
@@ -39,6 +39,7 @@ typedef struct SwapParameters {
         char *what;
         int priority;
         bool noauto:1;
+        bool nofail:1;
         bool handle:1;
 } SwapParameters;
 
@@ -60,7 +61,7 @@ struct Swap {
 
 extern const UnitVTable swap_vtable;
 
-int swap_add_one(Manager *m, const char *what, int prio, bool no_auto, bool handle, bool from_proc_swap);
+int swap_add_one(Manager *m, const char *what, int prio, bool no_auto, bool no_fail, bool handle, bool from_proc_swap);
 
 int swap_add_one_mount_link(Swap *s, Mount *m);