このコミットが含まれているのは:
haturatu 2024-06-25 20:25:05 +09:00
コミット 4da26fc3c6
1個のファイルの変更5行の追加6行の削除

ファイルの表示

@ -12,11 +12,10 @@ const char *display_storage() {
return run_command_s("df -h | " return run_command_s("df -h | "
"awk '/^\\/dev\\// {printf \"%s: %s / %s, \", $1, $3, $2}' | " "awk '/^\\/dev\\// {printf \"%s: %s / %s, \", $1, $3, $2}' | "
"awk '{sub(/, $/, \"\"); print}'"); "awk '{sub(/, $/, \"\"); print}'");
} else { }
free((void *)excode); free((void *)excode);
return run_command_s("zpool list | " return run_command_s("zpool list | "
"awk 'NR>1 {printf \"%s: %s / %s, \", $1, $3, $2}' | " "awk 'NR>1 {printf \"%s: %s / %s, \", $1, $3, $2}' | "
"awk '{sub(/, $/, \"\"); print}'"); "awk '{sub(/, $/, \"\"); print}'");
}
} }