From 14cd0a2f6d1b51001bf7d45f011982d9ca9d0a6a Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Wed, 14 Mar 2007 23:56:25 +0000
Subject: [PATCH] Log value of "shared" option.

---
 src/srun/opt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/srun/opt.c b/src/srun/opt.c
index ad814578daf..ab7e0c685bf 100644
--- a/src/srun/opt.c
+++ b/src/srun/opt.c
@@ -2619,6 +2619,8 @@ static void _opt_list()
 		info("dependency     : none");
 	else
 		info("dependency     : %u", opt.dependency);
+	if (opt.shared != (uint16_t) NO_VAL)
+		info("shared         : %u", opt.shared);
 	str = print_constraints();
 	info("constraints    : %s", str);
 	xfree(str);
-- 
GitLab