Skip to content

Commit

Permalink
undo: don't complain if /var/run/... already absent
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Price <[email protected]>
  • Loading branch information
Greg Price authored and andersk committed Jun 18, 2009
1 parent 7c7329c commit 32b7989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ksplice-undo.in
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if (-e "/sys/module/$update") {
}
}

rmtree("/var/run/ksplice/updates/$kid");
rmtree("/var/run/ksplice/updates/$kid") if (-e "/var/run/ksplice/updates/$kid");

exit(0);

Expand Down

0 comments on commit 32b7989

Please sign in to comment.