aboutsummaryrefslogtreecommitdiffstats
path: root/main/lxc/setproctitle-info-not-warn.patch
blob: 5e7272c20e81c0d7cc6556b5d6c40307ad915a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
### If you want the fancy proctitles, then you need to enable
### CONFIG_CHECKPOINT_RESTORE in your kernel.
--- a/src/lxc/utils.c
+++ b/src/lxc/utils.c
@@ -1458,7 +1458,7 @@ int setproctitle(char *title)
 	if (ret == 0)
 		strcpy((char*)arg_start, title);
 	else
-		SYSERROR("setting cmdline failed");
+		INFO("setting cmdline failed - %s", strerror(errno));
 
 	return ret;
 }