diff options
| author | EUcancER <root@euer.krebsco.de> | 2011-08-31 12:52:15 +0200 | 
|---|---|---|
| committer | EUcancER <root@euer.krebsco.de> | 2011-08-31 12:52:15 +0200 | 
| commit | 8e2af5a9f643632b96564706313edd4524f81bfd (patch) | |
| tree | 10e31222000cc4e289c555f6eb487502c273afb4 /cholerab/knut | |
| parent | efe72ae286caa4ecf88edcbcb619fb0ceb886ca8 (diff) | |
| parent | 9030631edd4f5e44234fe77348b92190874f42a2 (diff) | |
Gigantor Merge!
Conflicts:
	cholerab/news/Candidate - add Ante scriptum
	cholerab/shirts/bestellliste - merged as theirs
	oncology/dpfhack_display - now a submodule
add bug-fixing for adv_graphgen, as well as a Makefile
Diffstat (limited to 'cholerab/knut')
| -rwxr-xr-x | cholerab/knut/clients/cnot/index | 2 | ||||
| -rwxr-xr-x | cholerab/knut/index.js | 10 | 
2 files changed, 11 insertions, 1 deletions
diff --git a/cholerab/knut/clients/cnot/index b/cholerab/knut/clients/cnot/index index f276dd25..fcbef73e 100755 --- a/cholerab/knut/clients/cnot/index +++ b/cholerab/knut/clients/cnot/index @@ -11,7 +11,7 @@ port=42101  params="$*" -flags=-sS +flags=${curl_flags--fsS}  if test "${verbose-no}" != no; then    flags="${flags+$flags }-v" diff --git a/cholerab/knut/index.js b/cholerab/knut/index.js index 9c536006..b8951f1d 100755 --- a/cholerab/knut/index.js +++ b/cholerab/knut/index.js @@ -12,6 +12,16 @@ var spawn = require('child_process').spawn;  var plugs = process.argv.slice(2); +if (plugs.length === 0) { +  console.error('Error 1: You are made of stupid!' +      + '\nPro-Tip: [32m' +      + require('path').basename(process.argv[1]) + ' [31;1mPLUG[m' +      + ' # PLUG ∈ {' +      + require('fs').readdirSync(__dirname + '/plugs').join(',') +      + '}^n, n ≥ 1'); +  process.exit(23); +}; +  http.createServer(function (req, res) {    return slurp(req, function (data) {      try {  | 
