projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
452fc78
)
Fix brown bag bug in previous version.
author
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 31 Dec 2004 00:30:33 +0000
(
00:30
+0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 31 Dec 2004 00:30:33 +0000
(
00:30
+0000)
grading/userprog/prep-disk
patch
|
blob
|
history
diff --git
a/grading/userprog/prep-disk
b/grading/userprog/prep-disk
index f1b766c8614ebebf16d53dc32299d7f8d27bf091..f37a68297b11d2502190f71a51305dc41f5510a2 100755
(executable)
--- a/
grading/userprog/prep-disk
+++ b/
grading/userprog/prep-disk
@@
-62,6
+62,7
@@
sub put_file {
sub xsystem {
my ($expect, $cmd) = @_;
print "$cmd\n";
+ my ($code) = system ($cmd);
WIFEXITED ($code) && WEXITSTATUS ($code) == $expect
or die "command failed\n";
}