<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11143">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">exit if xterm was not found<br><br>Change-Id: Ie823e17ff1e7ad3ba23998233b41a810c90858b3<br>---<br>M net/tmpl_std/run.sh<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/43/11143/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/net/tmpl_std/run.sh b/net/tmpl_std/run.sh</span><br><span>index 590b3c8..4d45686 100755</span><br><span>--- a/net/tmpl_std/run.sh</span><br><span>+++ b/net/tmpl_std/run.sh</span><br><span>@@ -41,7 +41,8 @@</span><br><span>   fi</span><br><span>   terminal="$(which urxvt || which xterm)"</span><br><span>   if ! which $terminal; then</span><br><span style="color: hsl(0, 100%, 40%);">-    echo "CANNOT FIND XTERM PROGRAM"</span><br><span style="color: hsl(120, 100%, 40%);">+    echo "ERROR: Couldn't find urxvt or xterm!"</span><br><span style="color: hsl(120, 100%, 40%);">+    exit 1</span><br><span>   fi</span><br><span>   exec $terminal -title "CN:$title" -e sh -c "export LD_LIBRARY_PATH='/usr/local/lib'; $1; echo; while true; do echo 'q Enter to close'; read q_to_close; if [ \"x\$q_to_close\" = xq ]; then break; fi; done"</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11143">change 11143</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/11143"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-dev </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ie823e17ff1e7ad3ba23998233b41a810c90858b3 </div>
<div style="display:none"> Gerrit-Change-Number: 11143 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>