xbt_action_fp=NULL;
if (path) {
- xbt_action_fp = fopen(path, "r");
- if (xbt_action_fp == NULL)
- xbt_die("Cannot open %s: %s", path, strerror(errno));
+ xbt_action_fp = fopen(path, "r");
+ xbt_assert(xbt_action_fp != NULL, "Cannot open %s: %s",
+ path, strerror(errno));
}
res = MSG_main();