trivial: snap: set return code 2 on fwupd-activate.service as success

Otherwise the common case (nothing to do) will return 2 and show the systemd
unit as failed every time.
This commit is contained in:
Mario Limonciello 2019-04-02 18:16:47 -04:00 committed by Richard Hughes
parent 14891c7934
commit a3069f57b0

View File

@ -6,6 +6,7 @@ RequiresMountsFor=/snap/fwupd/current
Type=oneshot
RemainAfterExit=true
ExecStop=/snap/bin/fwupd.fwupdtool activate
SuccessExitStatus=0 2
[Install]
WantedBy=multi-user.target