Martin Pitt
3de1521427
Install: correctly report symlink creations
...
All callers of create_symlink(), such as install_info_symlink_wants(), expect
that to return > 0 if it actually did something, and then return that number.
unit_file_enable() uses that to determine if any action was done
(carries_install_info != 0) and if not, show a "The unit files have no
[Install] section" warning.
Return 1 instead of 0 in the two code paths of create_symlink() when the link
was created or replaced with a new value.
This fixes getting a bogus "No [Install] section" warning when enabling a unit
with full path, like "systemctl enable /some/path/myunit.service".
2016-04-11 21:03:29 +02:00
..
2015-06-11 10:52:46 +02:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-03-04 21:45:45 -05:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-04-06 10:47:37 +02:00
2016-04-05 23:03:58 -04:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-24 11:56:11 +01:00
2016-02-10 13:41:57 +01:00
2016-03-22 18:51:59 -04:00
2016-02-23 14:20:34 -08:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-22 20:32:04 -08:00
2016-02-20 22:42:29 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-03-27 21:51:44 -04:00
2016-03-27 21:51:44 -04:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-20 22:42:29 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-20 22:42:29 +01:00
2016-04-11 21:03:29 +02:00
2016-02-10 13:41:57 +01:00
2016-02-22 20:32:04 -08:00
2016-02-10 13:41:57 +01:00
2016-02-18 23:34:30 +00:00
2016-02-10 13:41:57 +01:00
2016-03-14 00:54:35 +00:00
2016-02-10 13:41:57 +01:00
2015-08-31 13:09:52 +02:00
2016-02-10 13:41:57 +01:00
2016-02-26 01:13:23 +06:00
2016-02-26 01:13:23 +06:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-03-05 18:26:01 +06:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-23 14:20:34 -08:00
2016-02-20 22:42:29 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-04-05 12:18:55 +02:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-01-29 12:13:08 -05:00
2016-02-10 13:41:57 +01:00
2016-02-22 20:32:04 -08:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00