Commit 0b7639c7 authored by Robert Ricci's avatar Robert Ricci

Use regular die(), not tbdie()

No need to suck in an extra library.
parent d4d5f181
...@@ -69,13 +69,13 @@ if (@ARGV != 1) { ...@@ -69,13 +69,13 @@ if (@ARGV != 1) {
# Lookup user. # Lookup user.
my $this_user = User->ThisUser(); my $this_user = User->ThisUser();
if (! defined($this_user)) { if (! defined($this_user)) {
tbdie("You ($UID) do not exist!"); die("You ($UID) do not exist!");
} }
# Lookup experiment. # Lookup experiment.
my $experiment = Experiment->Lookup($ARGV[0]); my $experiment = Experiment->Lookup($ARGV[0]);
if (!defined($experiment)) { if (!defined($experiment)) {
tbdie("Could not lookup experiment object for $ARGV[0]!") die("Could not lookup experiment object for $ARGV[0]!")
} }
my $pid = $experiment->pid(); my $pid = $experiment->pid();
my $eid = $experiment->eid(); my $eid = $experiment->eid();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment