1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

fix disk size prompt

This commit is contained in:
david hill
2016-04-21 13:11:55 -05:00
parent 8f90715709
commit 154aa8ccc5
2 changed files with 5 additions and 6 deletions

View File

@@ -8478,8 +8478,7 @@ namespace oam
std::string Oam::updateFstab(std::string device, std::string dbrootID)
{
//check if entry already exist
string cmd = "grep /data" + dbrootID + " > /etc/fstab /dev/null 2>&1";
string cmd = "grep /data" + dbrootID + " /etc/fstab /dev/null 2>&1";
int status = system(cmd.c_str());
if (WEXITSTATUS(status) == 0 )
return "";